commit 0d7a8ec1841bd3be6f362e7ca5fbfefe024ae862 Author: Stefan Ritter Date: Thu May 26 12:35:52 2011 +0200 Initial commit 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: