Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #26016
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!goblin1!goblin2!goblin.stu.neva.ru!news.stack.nl!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <python-python-list@m.gmane.org> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.004 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; 'configure': 0.04; 'ugly': 0.07; 'friday,': 0.09; 'git': 0.09; 'modules.': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'script,': 0.09; 'subject:howto': 0.09; ';-)': 0.11; 'gui': 0.11; '"if"': 0.16; 'advantage.': 0.16; 'alert,': 0.16; 'decent': 0.16; 'etc...': 0.16; 'guide.': 0.16; 'message-id:@dough.gmane.org': 0.16; 'pypi?': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject:simple': 0.16; 'wrote:': 0.17; 'code,': 0.18; 'module': 0.19; 'community.': 0.20; 'non': 0.24; 'command': 0.24; 'machine': 0.24; 'script': 0.24; 'header:In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'am,': 0.27; '(as': 0.27; 'header:X-Complaints-To:1': 0.28; 'facing': 0.29; 'usable': 0.29; 'wrap': 0.29; 'case,': 0.29; 'starts': 0.29; 'this.': 0.29; "i'm": 0.29; 'speakers': 0.30; 'running': 0.32; 'could': 0.32; 'getting': 0.33; 'asked': 0.33; 'certain': 0.33; 'to:addr:python-list': 0.33; 'built-in': 0.35; 'exist': 0.35; 'platforms,': 0.35; 'community': 0.35; 'doing': 0.35; 'there': 0.35; 'list.': 0.35; 'received:org': 0.36; 'but': 0.36; 'others.': 0.36; "didn't": 0.36; 'test': 0.36; 'too': 0.36; 'enough': 0.36; 'one,': 0.37; 'does': 0.37; 'being': 0.37; 'why': 0.37; 'rather': 0.37; 'subject:: ': 0.38; 'behind': 0.38; 'some': 0.38; 'sure': 0.38; 'to:addr:python.org': 0.39; 'release': 0.39; 'where': 0.40; 'header:Received:5': 0.40; 'your': 0.60; 'july': 0.60; 'telling': 0.61; 'different': 0.63; 'email addr:gmail.com': 0.63; 'hear': 0.63; 'love': 0.63; 'more': 0.63; 'within': 0.64; 'results': 0.65; 'sound': 0.65; 'state,': 0.65; 'hours': 0.66; 'subject: ': 0.66; 'gelonida': 0.84; 'off,': 0.84; 'oss': 0.84; 'window,': 0.84; 'yourself?': 0.84 |
| X-Injected-Via-Gmane | http://gmane.org/ |
| To | python-list@python.org |
| From | Gelonida N <gelonida@gmail.com> |
| Subject | Re: howto do a robust simple cross platform beep |
| Date | Tue, 24 Jul 2012 23:39:30 +0200 |
| References | <mailman.2110.1342227619.4697.python-list@python.org> <4ed2a36d-a034-45d8-84f7-aa71ff17d8b5@googlegroups.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=ISO-8859-1; format=flowed |
| Content-Transfer-Encoding | 7bit |
| X-Gmane-NNTP-Posting-Host | unicorn.dungeon.de |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120714 Thunderbird/14.0 |
| In-Reply-To | <4ed2a36d-a034-45d8-84f7-aa71ff17d8b5@googlegroups.com> |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.12 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.2555.1343165992.4697.python-list@python.org> (permalink) |
| Lines | 52 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1343165992 news.xs4all.nl 6888 [2001:888:2000:d::a6]:51855 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:26016 |
Show key headers only | View raw
On 07/15/2012 03:15 AM, rantingrickjohnson@gmail.com wrote:> On Friday, July 13, 2012 8:00:05 PM UTC-5, gelonida wrote: >> I just want to use a beep command that works cross platform. [...] I >> just want to use them as alert, when certain events occur within a >> very long running non GUI application. > > I can see a need for this when facing a non GUI interface. That's exactly my usecase. A rather tiny script running for hours and telling the users when results are ready. But even "IF" you do manage to play a sound in a cross platform manner; if the speaker volume is too low, or the speakers are turned off, or the computer does not have speakers connected, etc... your user will never hear the alert! In this case, beeping the built-in speaker has the fail-safe advantage. > Well the user starts the script, because he wants to get immediate notification while being able mimimize the window, work on a different a machine or doing some paperwork or discussions. So it would be up to him to configure the volume appropraitely. > Why not wrap up the functionality and release a module yourself? If you are not sure how to access the speaker on one or more OSs then ask on the list. I would love to see some community effort behind this. > I'm having no some ugly code, that is working on the platforms, that I am using. I'm rather busy, and have no experience in publishing coe, that's good enough for the community. I could try to use this a test case for learning to create communicty modules. Is there any decent getting started guide. Could I use github (as O know git already)? Assuming, the module would achieve a state, where it could be usable by others. How would one register on Pypi? > PS: Better make sure this module does not exist though ;-) > I didn't find one, that's why I asked here.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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