[Tutor] which file runs
pyro9219 at gmail.com
Tue Dec 5 20:34:46 CET 2006
I have a script that makes my python scripts into .pyc files and I can run
those without a .py in the directory or anywhere else on the system for that
matter. No clever tricks needed.
On 12/1/06, Christopher Arndt <chris.arndt at web.de> wrote:
> Addendum: these rules only apply to Python *modules*. AFAIK, when you call
> Python file as a script, no matching .pyc/.pyo file is used or generated.
> There are some clever tricks to run a .pyc file as a script. I think it is
> described in the Python CGI FAQ.
> Tutor maillist - Tutor at python.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Tutor