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-boun...@lists.ironpython.com [mailto:users-
> boun...@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@lists.ironpython.com
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
_______________________________________________
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to