[python-win32] Embedded Python & win32api

thorsten riesberg ThorstenRiesberg at gmx.de
Fri Jun 20 16:01:32 CEST 2008


Hello everyone,

I'm getting crasy about embedding python-win32 in a c++ application.

PyRun_SimpleString("import win32api") failes with the error message: 

ImportError: No module named win32api.

Every thing works fine if i use the PythonShell.
The problem is not! related to the actual sys.path.

I found the problem x-times on the net but never a solution that works.

If somebody has a solution, thanks in advance!!

Best Regards,
Thorsten

-- 
Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten 
Browser-Versionen downloaden: http://www.gmx.net/de/go/browser


More information about the python-win32 mailing list