[Mono-devel-list] Using Python libraries in mono

John Luke jluke at users.sourceforge.net
Fri Oct 17 01:20:19 EDT 2003


On Thu, 2003-10-16 at 22:54, Richard McGrath wrote:
> Is there anyway to use Python libraries (or code) from within Mono at
> present?  
> 
> Or are there any projects aiming to provide this?
> 
1. There is Python Scripting for .NET here:
http://www.zope.org/Members/Brian/PythonNet/index_html

this seems to provide access to .NET libraries for python.

2. There is also Python for .NET Research
http://www.activestate.com/Corporate/Initiatives/NET/Research.html?_x1

this seems to be aimed at making Python a full .NET language, but
doesn't seem to be active.

3. You can also write your own c library that embeds python and then
P/Invoke it from mono.

I was actually looking into this last night, but am am not particularly
familiar with c or Python.  However, I was able to execute python code,
from C#, via c.

Note: I could be totally wrong with any of the above.  Hopefully, I
missed something and there already exists a clean way to execute python
directly from mono/.NET




More information about the Mono-devel-list mailing list