[IronPython] Custom module storage.

Suhotyuk Pavel pavel.suhotjuk at gmail.com
Sun Jan 10 22:25:05 CET 2010


I know about pep-302, but I will try to use DLR-way.
Microsoft.Scripting.PlatformAdaptationLayer is very interesting class.

Thank you.

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
> 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
>>      
> _______________________________________________
> 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