Python - C# interoperability

sturlamolden sturlamolden at
Wed Jan 10 23:59:07 CET 2007

mc wrote:
> Is there an easy way to compile a Python class (or set of classes) into
> a .DLL that a C# program can call?  Or otherwise to use an existing
> library of Python classes from a C# program as seamlessly as possible?

One way is to use IronPython if you don't need modules written for

Another option is to use a COM wrapper, e.g. using win32com in Python.

A third option is to embed a Python interpreter in your C# app.

More information about the Python-list mailing list