Created
October 19, 2011 16:30
-
-
Save pydanny/1298848 to your computer and use it in GitHub Desktop.
PyCon Review script
This file contains 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 | |
target = random.randrange(3, 483) | |
url = 'http://us.pycon.org/2012/review/%s/' % target | |
webbrowser.open(url) |
Heh, I didn't create the script. I just pasted here for people's benefit. I'll change it soon enough.
Just updated this to match @ramalho's version of the code.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
instead of random.choice(range(3, 372)) you could just say random.randrange(3, 372). But why this range? I see talks with ids over 400...