[IronPython] Custom module storage.
pavel.suhotjuk at gmail.com
Sun Jan 10 13:25:05 PST 2010
I know about pep-302, but I will try to use DLR-way.
Microsoft.Scripting.PlatformAdaptationLayer is very interesting class.
On 10.01.2010 23:15, Dino Viehland wrote:
> 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
>> -----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.
>> 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
>> DLR and IronPython have some ways for this?
>> Users mailing list
>> Users at lists.ironpython.com
> Users mailing list
> Users at lists.ironpython.com
More information about the Users