[Python.NET] accessing .net dlls from python
Hernan Martinez Foffani
hernan.martinez at ecc.es
Tue Mar 28 19:53:59 CEST 2006
> I'm interested in accessing .net dlls from python (e.g. to write test
> scripts). Is pythonnet the correct software to use?
> I have had a go. I have installed pythonnet and tested it with some
> of the code samples: all well. Putting a .net dll called foo.dll in
> the current directory, 'import foo' raises the following error:
> ImportError: dynamic module does not define init function (initfoo)
> Is there a liitle bit extra I need to do, or am I barking up the wrong
> tree? I suppose I'm looking for something that will allow me to
> import .net dlls as if they were python modules.
More information about the PythonDotNet