Re: [IronPython] Custom module storage.

2010-01-10 Thread Suhotyuk Pavel

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


___
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com


[IronPython] Custom module storage.

2010-01-10 Thread Suhotyuk Pavel

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


Re: [IronPython] Using ruby module from python.

2009-12-08 Thread Suhotyuk Pavel
I write some helpers for python-ruby interop. It's allowed to use ruby 
soap-library.

It's very simple helpers. It have problem with convert python types to ruby.
This helpers place at 
http://files.roinet.net/blog/2009-12-07/PythonRubyInterop.7z

And I write some note about this problem in russian language.
http://roinet.net/2009/12/08/python-ruby-interop/
___
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com