Skip to content

Instantly share code, notes, and snippets.

@mjseeley
Created July 20, 2015 19:38
Show Gist options
  • Save mjseeley/bd52c3133c486842a567 to your computer and use it in GitHub Desktop.
Save mjseeley/bd52c3133c486842a567 to your computer and use it in GitHub Desktop.
import pip
from subprocess import call
for dist in pip.get_installed_distributions():
call("pip install --upgrade " + dist.project_name, shell=True)
@mjseeley
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment