How to import a file by its full path using C api?

lallous lallous at lgwm.org
Wed Nov 25 03:51:06 EST 2009


Hello

PyObject* PyImport_ImportModule( const char *name) 

How to specify a full file path instead and a module name?

Like PyImport_SomeFunction(const char *path_to_script, const char *name)

Thanks,
Elias 



More information about the Python-list mailing list