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 -- https://mail.python.org/mailman/listinfo/python-list