load_dynamic(_name_, path)

MRAB python at mrabarnett.plus.com
Thu Oct 8 20:29:54 CEST 2009

jim-on-linux wrote:
> Python help,
> In win32api line 10 is written:
>  mod = imp.load_dynamic(__name__, path)
> traceback;
> ImportError: DLL load failed:  The specified module 
> could not be found.
> import imp is available,
> Where does 
> load_dynamic(__name__, path) 
> come from?
The traceback is saying that it couldn't find the DLL you're trying to
load. Is the path you're giving correct? Does it point to a DLL?

More information about the Python-list mailing list