In article <[EMAIL PROTECTED]>,
 Thomas Guettler <[EMAIL PROTECTED]> wrote:

> 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

If you're on unix, you can put the .py files you want to import in a new 
directory, then change the permissions on this directory so that you do 
not have write permission for it.

rg
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to