[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?
Yes.
> 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.
http://www.zope.org/Members/Brian/PythonNet/readme.html#importing
-H.
More information about the PythonDotNet
mailing list