Disabling creation of .pyc files?

Dominic Sacré bugcreator at gmx.de
Wed Feb 13 10:53:28 EST 2002


Hi,

I'm writing a C++ program which embeds Python, and I'm a bit annoyed by the 
fact that for every .py file I'm importing, Python automatically creates a 
corresponding .pyc file, which persists after my program exits.

Is there a way to disable that feature?

Thanks,
    Dominic





More information about the Python-list mailing list