Python Path weirdness???

Arinte shouldbe at
Mon Nov 29 23:01:54 CET 1999

I have this code in my embedded app

 char* path ="D:\\POSSApps\\anotherposs app\\Embed Python\\some.exe";
 fname = fopen(name,"r");
 Py_InitModule("poss", Exposem);

Some.exe is not the name of my program, but I want python to look in
different directory for .pyc files.
Py_GetPath() returns a string that does not include
"D:\\POSSApps\\anotherposs app\\Embed Python\\some.exe".

Is there another way to get this to work through my c program?  Or should
this be working?


More information about the Python-list mailing list