Importing a module without creating a .pyc/.pyo file?

montanaro at tttech.com montanaro at tttech.com
Fri Jan 25 08:46:58 EST 2002


    Thomas> Is it possible to import a module xxx.py without compiling it
    Thomas> (implicitely) to .pyo/.pyc, or do I always have to delete the
    Thomas> compiled file afterwards if it gets in the way?

You could always make the directory read-only.

-- 
Skip Montanaro (skip at pobox.com - http://www.mojam.com/)




More information about the Python-list mailing list