Jonathan Hartley wrote:

> A task like this is more suited to bash than Python:
> 
> find . -name '*.pyc' -exec rm '{}' ';'

You forgot to exclude the .svn directory from the search and didn't limit 
the deletion to pyc-files whose corresponding py-file doesn't exist.

How would your line look with these modifications?

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

Reply via email to