[IronPython] Custom module storage.

Dino Viehland dinov at microsoft.com
Sun Jan 10 22:15:36 CET 2010


Using Python's import hooks is one way to go and is also nice because 
you can do  it all from Python as well - see PEP 302 which is at
http://www.python.org/dev/peps/pep-0302/.  You can also subclass ScriptHost 
and provide a custom PlatformAdaptionLayer which re-maps file I/O to the 
database.

> -----Original Message-----
> From: users-bounces at lists.ironpython.com [mailto:users-
> bounces at lists.ironpython.com] On Behalf Of Suhotyuk Pavel
> Sent: Sunday, January 10, 2010 1:08 PM
> To: Discussion of IronPython
> Subject: [IronPython] Custom module storage.
> 
> Hello.
> 
> I have sql database with sources of python packages and modules. How I
> can run IronPython with custom module storage?
> May I build custom module loader with IronPython.Modules.PythonImport
> or
> DLR and IronPython have some ways for this?
> 
> Thanks.
> _______________________________________________
> Users mailing list
> Users at lists.ironpython.com
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com



More information about the Ironpython-users mailing list