Pick-A-Mod Source Code
Posted by
le717
,
in
Triangular Minifigure Blog
19 January 2013
·
155 views
Since I had one interested party in the Pick-A-Mod source code, and since there really is no harm in releasing it (and any programmer can figure out how to remake it in any language they know), the Pick-A-Mod source code is in a spoiler below. . I made some minor changes to it, such as converting it for both Python 2.7.3 and 3.3, and added the ability to quit the while loop by pressing q. The code is pretty self-explanatory, so I did not leave any comments. Enjoy.
Pick-A-Mod
Pick-A-Mod
Spoiler
Sign In
Create Account


import random, webbrowser #you really don't need to alias an import if you're only using it once raw_input("Welcome to Pick-A-Mod!\nPress anything to begin: ") staff = ("Cyrem", "Addictgamer", "antillies", "Cirevam", "Amauros", "apemax", "Oboe Shoes") while True: if raw_input(random.choice(staff)+"\nThis is good, yes?").lower() in ['', 'y', 'yes']: break else: pass webbrowser.open_new_tab("http://www.rockraidersunited.org/index.php?app=members&module=messaging§ion=send&do=form")