From: Ken Stevens [mailto:[EMAIL PROTECTED] > Yes. Under Linux no x-server running? I guess it really wouldn't be > applicable under a windows enviroment, although I would like my code > to be transportable. Just under a MS windows enviroment it would > always be a "gui" environment.
What happens if you try to create a GUI and X is not running? Maybe you could just try to create a Tkinter.Tk() --- if it throws a python exception (probably TclError), you could just catch that. -- John. _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor