Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #25327

Re: howto do a robust simple cross platform beep

References <mailman.2110.1342227619.4697.python-list@python.org> <5000e530$0$29995$c3e8da3$5496439d@news.astraweb.com> <87ipdq8bz6.fsf@handshake.de> <mailman.2119.1342291754.4697.python-list@python.org> <50021151$0$6858$e4fe514c@news2.news.xs4all.nl>
Date 2012-07-15 11:07 +1000
Subject Re: howto do a robust simple cross platform beep
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.2124.1342314447.4697.python-list@python.org> (permalink)

Show all headers | View raw


On Sun, Jul 15, 2012 at 10:39 AM, Hans Mulder <hansmu@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).

ChrisA

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

howto do a robust simple  cross platform  beep Gelonida N <gelonida@gmail.com> - 2012-07-14 03:00 +0200
  Re: howto do a robust simple  cross platform  beep Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-07-14 03:19 +0000
    Re: howto do a robust simple  cross platform  beep Dieter Maurer <dieter@handshake.de> - 2012-07-14 19:54 +0200
    Re: howto do a robust simple cross platform beep Chris Angelico <rosuav@gmail.com> - 2012-07-15 04:49 +1000
      Re: howto do a robust simple cross platform beep Hans Mulder <hansmu@xs4all.nl> - 2012-07-15 02:39 +0200
        Re: howto do a robust simple cross platform beep Chris Angelico <rosuav@gmail.com> - 2012-07-15 11:07 +1000
  Re: howto do a robust simple  cross platform  beep Miki Tebeka <miki.tebeka@gmail.com> - 2012-07-14 11:43 -0700
  Re: howto do a robust simple  cross platform  beep Miki Tebeka <miki.tebeka@gmail.com> - 2012-07-14 11:43 -0700
  Re: howto do a robust simple  cross platform  beep rantingrickjohnson@gmail.com - 2012-07-14 18:15 -0700
    Re: howto do a robust simple  cross platform  beep Gelonida N <gelonida@gmail.com> - 2012-07-24 23:39 +0200
    Re: howto do a robust simple cross platform beep Chris Angelico <rosuav@gmail.com> - 2012-07-25 07:52 +1000
  Re: howto do a robust simple  cross platform  beep rantingrickjohnson@gmail.com - 2012-07-14 18:15 -0700

csiph-web