supress creation of .pyc files

Thomas Guettler guettli at thomas-guettler.de
Wed Feb 16 08:53:22 EST 2005


Hi,

Is there a way to import a file without creating
a .pyc file?

Of course you can delete the pyc in my script after
the import statement, but maybe there is a switch
that I have not found yet.

The imported file is a config file, not a script.

Thomas


-- 
Thomas Güttler, http://www.thomas-guettler.de/





More information about the Python-list mailing list