-
-
Save lambacck/1299684 to your computer and use it in GitHub Desktop.
PyCon random review script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import random | |
import webbrowser | |
def newone(): | |
target = random.randrange(3, 483) | |
url = 'http://us.pycon.org/2012/review/%s/' % target | |
webbrowser.open(url) | |
print "Hit enter for a new one, type any other value to exit" | |
while True: | |
newone() | |
doexit = raw_input("New one? ") | |
if doexit: | |
break | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment