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
""" | |
Add copy to clipboard from IPython! | |
To install, just copy it to your profile/startup directory, typically: | |
~/.ipython/profile_default/startup/ | |
Example usage: | |
%copy hello world | |
# will store "hello world" |
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
from httplib import HTTPConnection | |
import json | |
if __name__ == '__main__': | |
base_url = '/challenge.json' | |
url = base_url | |
count = 0 | |
conn = HTTPConnection('www.letsrevolutionizetesting.com') | |
while count < 100: | |
conn.request("GET", url) |
NewerOlder