howto do a robust simple cross platform beep
rosuav at gmail.com
Sun Jul 15 03:07:24 CEST 2012
On Sun, Jul 15, 2012 at 10:39 AM, Hans Mulder <hansmu at xs4all.nl> 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