[Python.NET] using precompiled .NET libraries

Brian Lloyd brian at zope.com
Wed Nov 3 20:51:10 CET 2004


> What is the way to import precompiled .NET libraries written in C#, VB
> etc (dlls in Windows) for scripting with Python .NET? Where would one
> place these libraries so that the interpreter can find them. Thanks
> _________________________________________________
> Python.NET mailing list - PythonDotNet at python.org
> http://mail.python.org/mailman/listinfo/pythondotnet
> 

Hi Jason -

Generally you just need to make sure the directory that contains
the assembly you want is on the PYTHONPATH (sys.path). After that, 
you can use the standard import mechanisms described in the README.


Brian Lloyd        brian at zope.com
V.P. Engineering   540.361.1716              
Zope Corporation   http://www.zope.com 




More information about the PythonDotNet mailing list