> I haven't written any code yet, but I was thinking I would like to test
> for either a windows environment (Is an X-Server running) or is this a
> strictly console (no X-server) environment and then do the appropriate
> thing for each environment. I am not sure that is any clearer, but I
> hope i
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
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,
OK, I see what you wanted now, ignore my previous message
.
Note that X windows is a protocol and not a GUI.
There are several GUI environme
> 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 exception.
Can you give an example of what you want to test for?
Alan G
__
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
chinson
Subject: Re: [Tutor] Testing for gui
On Wed, Nov 09, 2005 at 01:16:03PM +1300, Liam Clarke-Hutchinson wrote:
>
> Hi Ken,
>
> How do you mean? I assume you're referring to a non-Windows
> environment? In Linux, I'd imagine that using os.popen("ps") wou
day, 9 November 2005 1:12 p.m.
To: tutor@python.org
Subject: [Tutor] Testing for gui
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 mail
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