calling python from C#...

Ravi Teja webraviteja at gmail.com
Sun Jan 22 17:01:22 EST 2006


Writing COM Servers is not hard
http://www.python.org/windows/win32com/QuickStartServerCom.html

IronPython is the other way.

Choose COM Server approach if you are using the a lot of standard
library functions (as I recall IronPython is not complete here, yet).
Definitely choose this approach if you are using C extensions to
Python.

IronPython is good for simpler Python tasks at this moment. Expect this
to change in the future. Of course, there is always XML-RPC, SOAP,
CORBA etc for language independence if you don't mind Client/Server
setup.

You can also write code in C# and drive it from Python. Check Python
for .NET.




More information about the Python-list mailing list