Re: [Tkinter-discuss] CMD in Tkinter (Python 3)

2016-08-28 Thread Aivar Annamaa
Hi! You could take a look how it was done in Thonny (http://thonny.cs.ut.ee/) https://bitbucket.org/plas/thonny/src/master/thonny/shell.py?at=master&fileviewer=file-view-default Let me know if you need more explanations. Best regards, Aivar On Sat, Aug 27, 2016 at 3:17 PM, Hayden Ravenscroft <

Re: [Tkinter-discuss] CMD in Tkinter (Python 3)

2016-08-28 Thread Kevin Walzer
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 > 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 r

[Tkinter-discuss] CMD in Tkinter (Python 3)

2016-08-28 Thread Hayden Ravenscroft
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: h