Is there a way to use .NET DLL from Python

Fuzzyman fuzzyman at gmail.com
Wed Feb 6 19:16:14 EST 2008


On Feb 6, 9:27 pm, Huayang Xia <huayang.... at gmail.com> wrote:
> Hello All,
>
> I have several .NET DLL (I have no source code for them), is there
> anyway to use them from python instead of from C#.
>
> Thanks,
> Huayang

To access .NET types you either need to use IronPython or
Python.NET. .NET assemblies are dependent on the .NET runtime to do
anything and so can't be accessed with ctypes as other DLLs can.

Michael Foord
http://www.manning.com/foord



More information about the Python-list mailing list