python script and C dll in debug mode
Mark Hammond
mhammond at skippinet.com.au
Tue Feb 18 17:02:25 EST 2003
eve wrote:
> I attempt to run Python script (pyScript.py) which will import a
> myModule.dll written in C.
> If myModule.dll is in release mode, the program will run fine.
> If myModule.dll is in debug mode, I get the import module not found
> error message.
> In the DOS command, I run >> python_d pyScript.py
> I get "Exception import No module name myModule" message.
> Is there something I am missing here.
A debug build of your module must be called "MyModule_d.dll" (on
Windows, anyway)
Mark.
More information about the Python-list
mailing list