Can you post a code sample? You need to set the STA threading like in this demo:
https://github.com/pythonnet/pythonnet/blob/master/demo/DynamicGrid.py On Tue, Jan 16, 2018, 1:35 PM Phat Loc <phat....@gmail.com> wrote: > Hello, > > Is it possible to create a python repl from within a Windows application. > I know it is possible from a Windows console application. However everytime > I run Runtime.Py_Main from within a WPF app it just exits. Any suggestions > on how to get an interactive version working or troubleshoot why > it Runtime.Py_Main just exits with code 0? > > 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