Answers for "clear all python cache"

4

remove all pycache files

find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
Posted by: Guest on June-04-2020
1

clear all python cache

find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
Posted by: Guest on January-07-2021
2

python clear memory

a = 10
print a 

del a       
print a      ## throws an error here because it's been deleted already.
Posted by: Guest on June-10-2020

Python Answers by Framework

Browse Popular Code Answers by Language