howto do a robust simple cross platform beep

Chris Angelico rosuav at
Sun Jul 15 03:07:24 CEST 2012

On Sun, Jul 15, 2012 at 10:39 AM, Hans Mulder <hansmu at> wrote:
> The other prerequisite is that the use is physically near the
> compueter where your Python process is running.
> If, for exmple, I'm ssh'ed into my webserver, then sending a sound
> file to the server's speaker may startle someone in the data centre,
> but it won't attract my attention.  If, OTOH, you do:
>     print "\7"
> , then an ASCII bell will be sent across the network, and my
> terminal emulator will beep.

Sure, though other of the OP's ideas preclude that too. But you could
use any network protocol that acknowledges sound (MUDs use \7
following the terminal).


More information about the Python-list mailing list