Advertisement
Guest User

Untitled

a guest
Aug 23rd, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. import pip
  2. from subprocess import call
  3.  
  4. for dist in pip.get_installed_distributions():
  5. call("pip install --upgrade " + dist.project_name, shell=True)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement