Location of bytecode files (pyc)

Kerim my at mail.ru
Wed Sep 3 14:28:40 CEST 2003

"Rim" <rimbalaya at yahoo.com> wrote in message
news:6f03c4a5.0309021745.3a79d951 at posting.google.com...
> Hi,
> How can I control the location of the bytecode files?
> The reason I ask is I want to place the bytecode in a directory
> different than source code for backup reasons. Our backup system is
> directory based and I only want to have source code backed up, not
> object files or pyc files.

If you're on Windows say:

del /S *.pyc

to remove all .pyc's from cwd and below.

> Thanks,
> -Rim

More information about the Python-list mailing list