Skip to content

Instantly share code, notes, and snippets.

@docapotamus
Created December 8, 2015 09:04
Show Gist options
  • Save docapotamus/da0e6ac4ca9c1bf7941e to your computer and use it in GitHub Desktop.
Save docapotamus/da0e6ac4ca9c1bf7941e to your computer and use it in GitHub Desktop.
Clear Python cache data
# 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