I am trying to use
PyRun_String(string, Py_eval_input, dict1, dict2);
to import a module, but I am getting a syntax error. Is there a way to import built-in or third-party modules with PyRun_String?
I am trying to use
PyRun_String(string, Py_eval_input, dict1, dict2);
to import a module, but I am getting a syntax error. Is there a way to import built-in or third-party modules with PyRun_String?