Having an extensible mechanism for importing files would be very useful. I would like to be able to import python files stored in a database.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sanghyeon Seo Sent: Monday 3 July 2006 8:27 To: Discussion of IronPython Subject: Re: [IronPython] Importing embedded .py files 2006/7/3, JoeSox <[EMAIL PROTECTED]>: > What is the correct way to import an embedded module file(s) into a > PythonEngine? (snip) This is an interesting use case that could be done with PEP 302 import hooks. In CPython it was introduced to allow importing modules from .zip files, but in .NET setting it certainly makes sense to allow importing modules embedded in the assembly, which I believe is not yet possible with IronPython. Seo Sanghyeon _______________________________________________ users mailing list [email protected] http://lists.ironpython.com/listinfo.cgi/users-ironpython.com _______________________________________________ users mailing list [email protected] http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
