problems with python's shell

dj trombley badzen at yifan.net
Mon Dec 20 11:53:06 EST 1999


zigu wrote:
> 
> Hi
> I'm working with python 1.52 and tkinter (I've installed Tcl/Tk 8.0.5) under
> windows NT4.0
> I start a program from a tkinter window, I capture the output in a file to
> redirect it, but the python shell stays open anyway (obviously with no
> output..).
> Somebody knows how can I run a program direct from a tkinter window without
> opening the python shell?
> thanks


If you mean what I think you do, you should run 'pythonw.exe' instead of
'python.exe'.  The former does not create a console window.

-dj

Dave Trombley
<badzen at yifan.net>



More information about the Python-list mailing list