A task like this is more suited to bash than Python:

find . -name '*.pyc' -exec rm '{}' ';'

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to