extending and embedding python with C#

David Bolen db3l at fitlinxx.com
Fri Oct 24 12:14:42 EDT 2003


Bjorn Pettersen <bjorn.pettersen at comcast.net> writes:

> "Luke" <webworldL at yahoo.com> wrote in
> news:mailman.57.1066944193.702.python-list at python.org: 
> 
> > does anybody know anything about pythons ability to act as a wrapper 
> > for C#? I'm having a hard time finding out about this. Any clues are 
> > appreciated.
> 
> Depends on what you want to do. There is no out-of-the-box solution...
> yet. 

While still a work in progress:

    http://www.zope.org/Members/Brian/PythonNet

might be worth looking at.  It lets you access any managed .NET code
from Python (so would include C# code), and even subclass managed
objects with Python code.  Embedding Python in managed code appears to
be in the long term gameplan, but not really supported yet.  It does
run with it's own copy of the interpreter in the current preview.

There was another similar project (KOBRA) but the URL I have for it
(http://www.gadgil.net/DotNetWrapperForPython.htm) appears to be no
longer valid.

-- David





More information about the Python-list mailing list