Skip to content

Instantly share code, notes, and snippets.

@jseabold jseabold/
Last active Oct 6, 2015

What would you like to do?
rmpy delete python packages from dist-packages
function rmpy {
if [ -z "$1" ]; then
echo "Aren't you glad I didn't delete everything?";
sudo rm -rf /usr/local/lib/python2.7/dist-packages/$1*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.