[Tutor] which file runs

Christopher Arndt chris.arndt at web.de
Sat Dec 2 03:07:31 CET 2006


Addendum: these rules only apply to Python *modules*. AFAIK, when you call a
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.

Chris


More information about the Tutor mailing list