Created
May 26, 2011 12:46
Revisions
-
Jakub Jedelsky created this gist
May 26, 2011 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,20 @@ #!/usr/bin/env python # # I am so bored!!1 # import webbrowser, random timeeaters = [ 'www.google.com', 'www.facebook.com', 'www.twitter.com', 'www.google.com/reader', 'www.linkedin.com', 'news.ycombinator.com', 'delicious.com', 'youtube.com', 'vimeo.com', ] roulette = random.randint(0, len(timeeaters)-1) webbrowser.open('http://%s' % timeeaters[roulette])