[Python.NET] importing the dll using Python on net 2.0

Christian Heimes lists at cheimes.de
Tue Jan 22 18:59:34 CET 2008

Kaveripakam, Sathish wrote:
> Hence I was wondering does the Version 2.0 of python on net has any
> special way of porting the dll's compiled on .NET 2.0. Could any one
> please let me know, how to handle the CLR issues on Python On net 2.0 ?

You don't need to fiddle around with Reflection. PythonDotNet's clr
module contains the function AddReference(). It loads an assembly and
makes its namespaces available to Python.

import clr
from x.y.z as z


More information about the PythonDotNet mailing list