Created
April 18, 2012 08:24
-
-
Save AeroNotix/2412045 to your computer and use it in GitHub Desktop.
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
| import urllib2 | |
| import subprocess | |
| for x in range(1000): | |
| try: | |
| urllib2.urlopen("http://localhost:8080/") | |
| subprocess.Popen(["python", r"C:\Documents and Settings\francea\Desktop\serverhammer.py"]) | |
| except Exception as e: | |
| print str(e) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment