Created
December 8, 2015 09:04
-
-
Save docapotamus/da0e6ac4ca9c1bf7941e to your computer and use it in GitHub Desktop.
Clear Python cache data
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Remove < 3.2 cache | |
find . -type f -name \*.pyc -delete | |
# Remove > 3.2 cache | |
find . -type d -name "__pycache__" -delete |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment