<br>I use windows, it works for me....<br>Have checked your sound card, volume before trying the code?<br><br>pujo<br><div><span class="gmail_quote">On 11/14/05, <b class="gmail_sendername">Johan Geldenhuys</b> <<a href="mailto:johan@accesstel.co.za">
johan@accesstel.co.za</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Could this be a OS thing?<br>
I use Linux and it works here.<br>
<br>
Steve Haley wrote:
<blockquote cite="http://midE1EbXqF-0003qN-00@pop-tawny.atl.sa.earthlink.net" type="cite">
<div>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Folks,</span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">I'm one of the people new
to Python who has started
going through a beginner's book to learn the basics of the language
("Python
Programming for the Absolute Beginner"). In the second chapter the
author (Michael Dawson) illustrates the use of escape sequences with,
among
other things, the "\a" to sound the system bell. However, when I
run the little program myself, the program runs but I get no sound –
all is
get is the word BEL in while letters on a blue background. I've turned
the volume up all the way and still no sound. I know the speakers on
my laptop
work because I just finished my daily session trying to learn a little
Spanish
which involves sound.</span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">I went to the language
reference which also seems to
indicate I should get a sound with exactly what the author is saying.
The
exact line is:</span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">print "\a"</span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">I'm not sure why but this
kind of thing bothers me.
Can anyone suggest why my laptop won't produce a bell? Does the fact
that I'm running version 2.1 have something to do with it? Does my
laptop have something against me and just doesn't want to ring its bell
for me? (just kidding with that last one)</span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Thanks in advance.</span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Steve</span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>
</div>
<pre><hr size="4" width="90%">
_______________________________________________<br>Tutor maillist - <a href="mailto:Tutor@python.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Tutor@python.org</a>
<a href="http://mail.python.org/mailman/listinfo/tutor" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://mail.python.org/mailman/listinfo/tutor</a>
</pre>
</blockquote>
<br>_______________________________________________<br>Tutor maillist - <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Tutor@python.org">Tutor@python.org</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://mail.python.org/mailman/listinfo/tutor" target="_blank">
http://mail.python.org/mailman/listinfo/tutor</a><br><br><br></blockquote></div><br>