Tkinter program with a usable interpreter console

B

beginner

Hi everyone,

I have a question about Tkinter programs. What I want is a GUI window
along with an interpreter window, so that I can do things by clicking

and my gui is modified for me.

The problem is that the Tkinter program ends with a .mainloop() call
and it is not going to give back control to the command prompt. I feel
it is almost like I need to implement the python shell myself. Is
there any better way of doing this?

Thanks,
beginner
 
I

Ivan Johansen

beginner said:
The problem is that the Tkinter program ends with a .mainloop() call
and it is not going to give back control to the command prompt. I feel
it is almost like I need to implement the python shell myself. Is
there any better way of doing this?

Take a look at this:
http://lfw.org/python/Console.py

I haven't really used it myself yet, but it looks really great.

Ivan Johansen
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,678
Members
48,796
Latest member
Greg L.

Latest Threads

Top