1 Jan 2008 10:29
Re: providing a Python command line within a Tkinter appl
Alan Gauld <alan.gauld <at> btinternet.com>
2008-01-01 09:29:19 GMT
2008-01-01 09:29:19 GMT
"Garry Willgoose" <garry.willgoose <at> newcastle.edu.au> wrote > packages in the first place). Plan A was that I'd somehow like to > use > the python interpreter for this but I can't find any obvious way to > do this. Take a look at the IDLE source cocde. IDLE's interactive shell is essentially what you want - a python interpreter insode aTkinter window... If you were using wxPyton then the WxPy package has a shell component that you could have used, but I don't know of any such component for Tkinter. However it might be possible to re-use the IDLE code... HTH, -- -- Alan Gauld Author of the Learn to Program web site http://www.freenetpages.co.uk/hp/alan.gauld _______________________________________________ Tutor maillist - Tutor <at> python.org http://mail.python.org/mailman/listinfo/tutor
RSS Feed