Importing User-defined Modules
and-google at doxdesk.com
and-google at doxdesk.com
Mon Jul 25 10:10:07 EDT 2005
Walter Brunswick <walterbrunsw... at sympatico.ca> wrote:
> I need to import modules with user-defined file extensions
> that differ from '.py', and also (if possible) redirect the
> bytecode output of the file to a file of a user-defined
> extension.
You shouldn't really need a PEP for that; you can take control of the
compile and import processes manually. See the py_compile and imp
modules.
--
Andrew Clover
mailto:and at doxdesk.com
http://www.doxdesk.com/
More information about the Python-list
mailing list