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

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

find . -name '*.pyc' -delete

Surely the simplest.