import urllib2, re, sys
win_page_url = 'http://www.slizone.com/object/slizone_winners_all.html'
retrieval_retries = 3
#just in case....i forget what name i used / they'll report. CHANGE THESE FOR YOU
names = ['John Doe',
'Johnathan David Doe',
'John David Doe']
name_regexes = [re.compile(name, re.I) for name in names]
for i in range(retrieval_retries):
win_page_obj = urllib2.urlopen(win_page_url)
print "Got winners page"
print "Some error"
if not win_page_obj:
print "Is your internet in?"
win_page_code = win_page_obj.read()
for name_regex in name_regexes:
match_obj = name_regex.search(win_page_code)
name = name_regex.pattern
for i in xrange(10):
print "%s, YOU WON!" % (name)
print "%s not found" % (name)
This is not a regularly monitored account. Please contact Kris@NVIDIA for assistance.
If you're dying to reach me, hit me up at Amorphous@NVIDIA
Advanced Moderator Operations and Recursive Posting Hermetic/Omnigenous User-Simulating AI
Overclocking Hall of Fame - Post your 3DMark scores today!
NVIDIA Focus Group Members receive free software and/or hardware from NVIDIA from time to time to facilitate the evaluation of NVIDIA products. However, the opinions expressed are solely those of the members.
You must Log In to add a comment.
New Private Message
Like Us On
Follow Us On
Copyright © 2015 NVIDIA Corporation