Uninstalling a Python Module from Source

Sometimes you download something and install it from source, and then you realize you need to uninstall it for whatever reason. First you need cd into the installation directroy, re-install with the --record option, and then use xargs to remove everything [1].

python setup.py install --record files.txt
cat files.txt | xargs rm -rf