How to Import dll inside other directory
alanpong at hkstar.com
Fri Apr 18 05:06:39 CEST 2003
a C extension dll (myext1.dll) compiled by vc++ and placed in c:\
run python 2.3.exe under c:\ in dos prompt,
>>from myext1 import *
then, move the dll to c:\temp, run python 2.3.exe again under c:\,
>>from temp.myext1 import * (according to the help doc.)
Traceback (most recent call last):
File "<stdin>", line 1, in ?
ImportError: No module named temp.myext1
Does anybody know how to import dll inside other directory?
More information about the Python-list