how to get a beep, OS independent ?
Marc 'BlackJack' Rintsch
bj_666 at gmx.net
Sun Dec 7 09:46:53 EST 2008
On Sun, 07 Dec 2008 07:17:30 -0700, Joe Strout wrote:
> But invoking the standard system beep is such a basic function that it
> ought to be easier than this. I'm pretty sure it's a single OS call on
> all platforms. On OS X, for example, it's
>
> void NSBeep(void);
>
> declared in NSGraphics.h. I'm sure it's something similarly simple on
> other platforms.
I'm not so sure. Under Unix the "system beep" is usually in the terminal
emulation and triggered by sending '\a' to it. AFAIK there is no
standard beep in X-Windows so every desktop environment implements
something like audio notifications.
Ciao,
Marc 'BlackJack' Rintsch
More information about the Python-list
mailing list