leftover pyc files

Andrea Crotti andrea.crotti.0 at gmail.com
Fri Nov 4 07:00:50 EDT 2011


On 11/04/2011 10:39 AM, Chris Angelico wrote:
> If you're removing them all, you don't need to use a powerful shell. 
> Much much easier! Just recursively del *.pyc and you're done. ChrisA 

Discussing with the guy that did it I think it's actually a good idea 
instead, because removing them *all* means.
- remove a few thousand files every time where maybe 0 would be removed 
otherwise
- recompile the same thousand of files

It might not be so relevant but for 10 lines of code more I guess it's 
fine..



More information about the Python-list mailing list