Answers for "delete all pyc files"

1

remocve pyc files

find . -name "*.pyc" -exec rm -f {} \;
Posted by: Guest on March-25-2020
4

remove all pycache files

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

remove all pyc files

find . -name "*.pyc" -exec rm -f {} \;
Posted by: Guest on February-25-2021

Python Answers by Framework

Browse Popular Code Answers by Language