when I start my python/Tkinter apps out of a MS-DOS shell
and kill the app, very often the DOS-prompt doesn't come back,
the Shell hangs-up.
Anyone can tell me where the problem is?
Thanks in advance,
Markus
> Hi,
>
> when I start my python/Tkinter apps out of a MS-DOS shell
> and kill the app, very often the DOS-prompt doesn't come back,
> the Shell hangs-up.
This is a "known" bug in Tk.
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=216289&
group_id=5470
The workaround:
use pythonw for now........
I've been patiently waiting for AnyGUI in the hopes that it would
provide the ability to use a working graphics library under each
environment. Unfortunately, I haven't seen any progress posted
on AnyGUI in a while. That may mean they just aren't keeping
their projected next release date updated (I hope).
John Roth
>
Markus
Howard Lightstone schrieb:
> The problem is that with pythonw I don't get the Debug "prints".
>
> Markus
>
>
Of course, I had a similar problem. There have been many threads
discussing this issue. There are also some cookbook recipes about doing
this ...... I chose to have a method in which I can choose to have
stdout/stderr go to a (dynamic) Tkinter window which pops up when there is
'something' printed. That way, I "know" when something got printed because
the window appears.
I would be glad to mail it to you if you would like (although it's a little
over 130 lines, I hate to waste newgroup bandwidth). I would post it on my
website but ... it looks so dumb I hate to advertise it.