Idlelib might provide some useful code. Lots of projects use it to embed a console.
> On Aug 27, 2016, at 8:17 AM, Hayden Ravenscroft > <hayden.ravenscr...@hotmail.com> wrote: > > Hi all, > > I’m attempting to write an IDE for python, in python. My major problem is > embedding a console on a tkinter frame so the IDE can run the user’s script. > I have browsed through many solutions, but they are mostly for Python 2 only > (and no, converting them did not work). I looked at this: > http://stackoverflow.com/questions/7253448/how-to-embed-a-terminal-in-a-tkinter-application > But xterm only works with Linux – is there a windows solution? > > Thanks, > Hayden > _______________________________________________ > Tkinter-discuss mailing list > Tkinter-discuss@python.org > https://mail.python.org/mailman/listinfo/tkinter-discuss
_______________________________________________ Tkinter-discuss mailing list Tkinter-discuss@python.org https://mail.python.org/mailman/listinfo/tkinter-discuss