delete all .pyc files code example Example: remove all pyc files find . -name "*.pyc" -exec rm -f {} \;