Try this:
import sys
sys.path.append("<path to your custom assembly>")
import clr
import System
clr.AddReference("MbtCom")
Craig.
14/04/2009 9:09 a.m. dï, kfadnis pišdimiš:
Hi All,
I know this is a very basic question, but despite all my efforts I
haven't been able to load a third-party dll into python. I can find
the dll using clr.FindAssembly("MbtCom"). I also append the required
path to the sys.path, but it refuses to show up. Is there something
obvious I am missing ?
Thank you for your time.
------------------------------------------------------------------------
_________________________________________________
Python.NET mailing list - PythonDotNet@python.org
http://mail.python.org/mailman/listinfo/pythondotnet
_________________________________________________
Python.NET mailing list - PythonDotNet@python.org
http://mail.python.org/mailman/listinfo/pythondotnet