Re: Importing User-defined Modules
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.python archive

Re: Importing User-defined Modules

From: <and-google@doxdesk.com>
Date: Mon Jul 25 2005 - 16:10:07 CEST

Walter Brunswick <walterbrunsw...@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@doxdesk.com
http://www.doxdesk.com/
Received on Thu Sep 29 17:09:28 2005