Question on multiple Python users in one application
Gregory Ewing
greg.ewing at canterbury.ac.nz
Fri Oct 7 19:38:24 EDT 2016
Dennis Lee Bieber wrote:
> normally the main file of a Python program is still the plain text,
It doesn't have to be, though -- you can do 'python somefile.pyc'
and it will happily run it.
> and imported
> modules are retrieved from the file system as (if found) PYC pre-compiled,
> otherwise the text PY file is loaded. They don't exist as a part of a
> monolithic executable program.
I don't think that would be a problem for Loren, but if it is,
the .pyc files can be wrapped up in a zip file, and Python
can import them directly from there.
--
Greg
More information about the Python-list
mailing list