1

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?

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131

0 Answers0