[Python.NET] PythonEngine a singleton?

Denis Akhiyarov denis.akhiyarov at gmail.com
Fri Mar 16 23:11:09 EDT 2018

You should treat PythonEngine as Singleton, for your use case search for
PyScope in pythonnet repo on GitHub:


On Fri, Mar 16, 2018, 1:40 PM Phat Loc <phat.loc at 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 at python.org
> https://mail.python.org/mailman/listinfo/pythondotnet
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pythondotnet/attachments/20180317/01e83769/attachment.html>

More information about the PythonDotNet mailing list