[Python.NET] calling Python via Python.Runtime DLL from IronPython

Cameron Hayne cameron.hayne at introspect.ca
Tue Apr 19 15:09:02 EDT 2016


Should it be possible to call Python (CPython) code from IronPython (an IronPython script) via the Python.Runtime DLL ?
I.e. an IronPython script that imports the Python.Runtime DLL and then calls the functions provided by that DLL.
In my preliminary tests, I get an error about ‘copy_reg’ not being found. This error seems to happen when calling PythonEngine.Initialize().

--
Cameron Hayne
cameron.hayne at introspect.ca





More information about the PythonDotNet mailing list