python functools clear cache code example Example: clear all python cache find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf