Skip to content

Instantly share code, notes, and snippets.

@vpetrigo
Created July 22, 2016 19:32
Show Gist options
  • Save vpetrigo/a619a02508a29726dd9b646e4a14dce6 to your computer and use it in GitHub Desktop.
Save vpetrigo/a619a02508a29726dd9b646e4a14dce6 to your computer and use it in GitHub Desktop.
Batch files and shell scripts for Python packages via pip
@echo off
rem update system Python packages on Windows
FOR /F "usebackq" %%p IN (`pip list -o`) DO pip install -U %%p
#!/bin/sh
pip list -o | cut -f 1 -d ' ' | xargs pip install -U
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment