Pau Freixes wrote:
The best way for add new path before call PyImport_Import is adding new
string item into sys path object ?
The same way you'd add a path in Python:
PyObject *sys_path;
PyObject *path;
sys_path = PySys_GetObject("path");
if (sys_path == NULL)
return NULL;
path = PyStrin
Hi list,
I have a little question about whats' the best way for add - no replace -
new path into python c embedding environment for this situation.
I'm using PyObject_CallObject(pfunc, pArgs); for call one function of some
module loaded with PyImport_Import function. PyImport_Import function sear