From 0d7a8ec1841bd3be6f362e7ca5fbfefe024ae862 Mon Sep 17 00:00:00 2001 From: Stefan Ritter Date: Thu, 26 May 2011 12:35:52 +0200 Subject: [PATCH] Initial commit --- genregenerator.py | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 genregenerator.py diff --git a/genregenerator.py b/genregenerator.py new file mode 100644 index 0000000..b817ec2 --- /dev/null +++ b/genregenerator.py @@ -0,0 +1,20 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +# This program is free software. It comes without any warranty, to +# the extent permitted by applicable law. You can redistribute it +# and/or modify it under the terms of the Do What The Fuck You Want +# To Public License, Version 2, as published by Sam Hocevar. See +# http://sam.zoy.org/wtfpl/COPYING for more details. + +# Author: Stefan Ritter +# Description: Generate music genres + +from random import choice + +subgroup = ["medieval", "death", "black", "hard", "progressive", "symphonic", "viking", "pagan", "gangsta", "experimental", "alternative"] +group = ["core", "metal", "pop", "punk", "country", "rap", "western"] + +print(choice(subgroup), choice(subgroup) + choice(group)) + +# vim: set sw=4 tw=0 ts=4 expandtab: