[Tutor] Meeester bell.

Abel Daniel abli@freemail.hu
Thu, 1 Aug 2002 19:56:00 +0200


Doug.Shawhan@gecits.ge.com wrote:
> I have been looking through the modules for a text-mode bell that will work
> in windows (i.e. not in curses or Tkinter).
> 
> I am postitive I have seen this beastie somewhere... Any clues?
> 
> d
I you run the python program in a shell window, you might try
>>> print"\007"
which beeps (at least for me). This works by echoing a ASCII code 7
which is represented by a beep.

Or you can use the winsound module on M$ platforms. 

abli
abli@freemail.hu