leftover pyc files

Chris Angelico rosuav at gmail.com
Fri Nov 4 06:39:14 EDT 2011


On Fri, Nov 4, 2011 at 9:34 PM, Andrea Crotti <andrea.crotti.0 at gmail.com> wrote:
> Uhm yes it makes sense also to just remove all of them, I don't know why it
> was done like this but
> probably for "performance" reasons.
>
> I will try both ways, but I would definitively avoid the shell scripting,
> because it's mainly windows
> but it has to be multi-platform..

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



More information about the Python-list mailing list