You should treat PythonEngine as Singleton, for your use case search for PyScope in pythonnet repo on GitHub:
https://github.com/pythonnet/pythonnet/search?utf8=✓&q=pyscope&type= On Fri, Mar 16, 2018, 1:40 PM Phat Loc <phat....@gmail.com> wrote: > Hi All, > > I new to to Python and PythonDotNet. However, I am able to embed it in a > clr application. Should the PythonEngine be treated as sigleton? When does > it make sense to create an instance of the PythonEngine versus just > calling the static methods? > > Thanks, > > Phat > _________________________________________________ > Python.NET mailing list - PythonDotNet@python.org > https://mail.python.org/mailman/listinfo/pythondotnet >
_________________________________________________ Python.NET mailing list - PythonDotNet@python.org https://mail.python.org/mailman/listinfo/pythondotnet