Skip to content

Instantly share code, notes, and snippets.

@yuikns
Created August 19, 2014 14:35
Show Gist options
  • Save yuikns/70ec8134448a68bbf861 to your computer and use it in GitHub Desktop.
Save yuikns/70ec8134448a68bbf861 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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment