Importing User-defined Modules

and-google at and-google at
Mon Jul 25 16:10:07 CEST 2005

Walter Brunswick <walterbrunsw... at> 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

Andrew Clover
mailto:and at

More information about the Python-list mailing list