Thanks to all those who responded to my plea regarding how
to make my laptop’s bell ring with the print “\a”
command. The secret turned out to be, as a couple of you suggested, that
it won’t work in the Python window environment. It works fine if I
just double click the .py file in Window
> 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:
>
> print "\a"
Escape characters are terminal settings so you need to be running in a
terminal.
Start up a command window and run the program ther
> 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,
I use windows, it works for meHave checked your sound card, volume before trying the code?pujoOn 11/14/05, Johan Geldenhuys <
[EMAIL PROTECTED]> wrote:
Could this be a OS thing?
I use Linux and it works here.
Steve Haley wrote:
Folks,
I'm one of the people new
to
Could this be a OS thing?
I use Linux and it works here.
Steve Haley wrote:
Folks,
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 chapt
Folks,
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 t