The following command will remove all *.pyc files from the current directory and all subdirectories.
find . -name \*.pyc -delete