Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Execute Python Code in QM Using python.net
#4
Issue2 in #1 has already been resolved.

        try
        {
            dynamic Rd = pyRun(code, func, args);
            object R = Rd.ToString();
            PythonEngine.Shutdown();
            return R;
        }
        catch (Exception ex)
        {
            PythonEngine.Shutdown();
            //return "Error: " + ex.ToString();
            return null;
        }


Messages In This Thread
RE: Execute Python Code in QM Using python.net - by Davider - 06-08-2025, 08:00 AM
RE: First steps with Python.NET - by Davider - 06-09-2025, 03:30 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)