Skip to content

Instantly share code, notes, and snippets.

@lsloan
Created June 23, 2016 18:53
Show Gist options
  • Save lsloan/aa7f19652e3f81ca91cfb1f534eba92d to your computer and use it in GitHub Desktop.
Save lsloan/aa7f19652e3f81ca91cfb1f534eba92d to your computer and use it in GitHub Desktop.
Get get-pip.py. (Helpful for Pythonista.)
#!/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