BartlebyScrivener wrote:
> What about a console beep? How do you add that?
>
> rpd

Just use ASCII code 007 (BEL/BEEP):

  >>> import sys
  >>> sys.stdout.write('\007')

Or if you're on Windows, use the winsound standard module.

--Ben

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to