Thomas Guettler wrote:
Is there a way to import a file without creating
a .pyc file?
That is part of PEP 304, which is not implemented
yet, and apparently currently stalled due to lack
of interest.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
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
On Wed, 16 Feb 2005 14:53:22 +0100, Thomas Guettler wrote:
> The imported file is a config file, not a script.
You could use execfile() to read the file, and not import.
Jeremy
--
http://mail.python.org/mailman/listinfo/python-list
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-gue