Created
June 23, 2016 18:53
-
-
Save lsloan/aa7f19652e3f81ca91cfb1f534eba92d to your computer and use it in GitHub Desktop.
Get get-pip.py. (Helpful for Pythonista.)
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
#!/usr/bin/env python | |
import requests | |
OUTPUT_FILE = 'get-pip.py' | |
URL = 'https://bootstrap.pypa.io/' + OUTPUT_FILE | |
file(OUTPUT_FILE, 'w').writelines(requests.get(URL)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment