How do I remove all .pyc files from a project?

find . -name "*.pyc" -exec rm -f {} \;

Leave a Comment