Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import pip
- from subprocess import call
- for dist in pip.get_installed_distributions():
- call("pip install --upgrade " + dist.project_name, shell=True)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement