Re: [Tutor] Testing for gui

2005-11-09 Thread Ken Stevens
On Wed, Nov 09, 2005 at 10:00:49PM -, Alan Gauld wrote: > >How does one test for a running gui in python? > > > > Can you be more specific? A GUI is a feature of a program. > The GUI is part of the program - although a few programs > can run in either GUI or Text mode, but they are the except

[Tutor] Testing for gui

2005-11-08 Thread Ken Stevens
How does one test for a running gui in python? Thanks, Ken -- A journey of a thousand miles starts under one's feet. -- Lao Tsu ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

[Tutor] What am I doing wrong...

2004-12-23 Thread Ken Stevens
I am a elative new comer to python. I wrote the following test snippet. #!/usr/bin/env python def main (): play_test() def play_test (): print "Hi! -- in play test" When I do "python test.py" absolutely nothing happens. I expect it to do the print statement. Thanks in advance for yo