[IronPython] Importing embedded .py files

JoeSox joesox at gmail.com
Mon Jul 3 15:47:23 CEST 2006


On 7/2/06, Sanghyeon Seo <sanxiyn at gmail.com> wrote:
> 2006/7/3, JoeSox <joesox at gmail.com>:
> > 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.

Interesting. Hopefully it will be supported in the future, until then
I guess I will include my script files with my .dll, which seems odd
to.
-- 
Later, Joe



More information about the Ironpython-users mailing list