Python and KDE

Dan Sommers me at
Fri Jul 23 15:49:14 CEST 2004

On Fri, 23 Jul 2004 12:04:17 +0100,
Dylan Parry <usenet at> wrote:

> I was wondering if it is possible, through some module, to check
> whether the screensaver is running in KDE? The reason being that I
> have some Python applications that I have running all of the time
> while I am logged in to KDE, but as they provide purely eye candy I
> would like to make it so they basically do nothing while the
> screensaver is running, thus reducing the processor overhead and
> saving a minute amount of power!

> I would also like to be able to play a wav file, or similar, given a
> certain condition in an IF statement. Is it possible to play sounds
> using Python? If so, how would I go about it?

Do you know about PyKDE?  (I don't know too much about it, except that
it exists, and you didn't mention it.)  You may have good/better luck
with its mailing list, too:



Dan Sommers
Never play leapfrog with a unicorn.

More information about the Python-list mailing list