Calling dotNet components from Python.

Mark Hammond mhammond at skippinet.com.au
Tue Apr 29 18:56:43 EDT 2003


Paradox wrote:

> I was wondering if it is possible to call a dotNet dll written in C#
> from within a Python script. If anyone knows of any documentation or
> example code that accomplishes something like this. It seems that you
> can call a com component but all my searching on dotNet has not found
> anything about using dotNet components in Python. Thanks

.NET objects can be accessed via win32com.  You may need to run 
"tlbexport" to create a typelib that COM can see.

Mark.





More information about the Python-list mailing list