Skip to content

Instantly share code, notes, and snippets.

@kaolian
Created November 21, 2013 22:34
Show Gist options
  • Select an option

  • Save kaolian/7591016 to your computer and use it in GitHub Desktop.

Select an option

Save kaolian/7591016 to your computer and use it in GitHub Desktop.
import urllib2
for i in range(0, 100):
try:
response = urllib2.urlopen("http://sandbox:5000/%d/" % i)
#print response.read()
except:
pass
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment