[IronPython] .NET can see Python classes?

Curt Hagenlocher curt at hagenlocher.org
Sun Aug 5 20:32:59 CEST 2007

On 8/5/07, Bryan <belred at gmail.com> wrote:
> i to would like to do this.  i don't understand a part of this.  i
> understand creating a CLR interface and i understand creating a python
> file that has a class that derives from the CLR interface.  but how
> does the CLR code instantiate the derived class and access the Python
> code through the interface?  where does this instance come from?

You would have to interact directly with the IronPython engine from the "CLR
code" in order to get an instance of the class.  Something like the code
that Ori posted earlier in the thread would work for that.

Curt Hagenlocher
curt at hagenlocher.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20070805/2ba9fbbd/attachment.html>

More information about the Ironpython-users mailing list