GUI Program Error

Fredrik Lundh fredrik at pythonware.com
Thu Jun 8 09:19:31 CEST 2006


Eric Brunel wrote:

> It may be a platform-specific issue: On Unix/Linux, a window *does* appear  
> when you instantiate Tk, at least with tcl/tk 8.3 and 8.4 (which is the  
> latest stable version AFAIK).

same on Windows, but it often appears *beneath* the window you're typing 
into, so you have to look for it in the task bar.

this also relies on Python being able to keep the Tkinter event loop 
going behind the scenes; different command-line implementations have 
different limitations.

for example, on Windows, the event loop runs only when you're at an 
empty Python prompt; as soon as you start typing the next command, the 
interpreter switches over to "text input mode", and the event loop is 
paused until you press return.

</F>




More information about the Python-list mailing list