Re: [Python.NET] calling Python via Python.Runtime DLL from IronPython
Denis Akhiyarov <[email protected]>
| Newsgroups | gmane.comp.python.dotnet |
|---|---|
| Message-ID | <CALxxJLS-vax9DT0ye-uCadpzQOU4jcgkZ5XC5nHeEcbJxMNEXQ@mail.gmail.com> |
Did you try this code? http://www.voidspace.org.uk/ironpython/cpython_extensions.shtml On Tue, Apr 19, 2016 at 2:09 PM, Cameron Hayne <cameron.hayne-/[email protected]> wrote: > 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-/[email protected] > > > > _________________________________________________ > Python.NET mailing list - [email protected] > https://mail.python.org/mailman/listinfo/pythondotnet > _________________________________________________ Python.NET mailing list - [email protected] https://mail.python.org/mailman/listinfo/pythondotnet