Skip to content

Instantly share code, notes, and snippets.

@msbanik
Created November 19, 2013 20:28
Show Gist options
  • Save msbanik/7551991 to your computer and use it in GitHub Desktop.
Save msbanik/7551991 to your computer and use it in GitHub Desktop.
update all packages in python repo
import pip
from subprocess import call
for dist in pip.get_installed_distributions():
call("pip install --upgrade " + dist.project_name, shell=True)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment