title: python code to make a beep
body: <p>I have installed Python 3.6.0 on a MacBook Pro running OSX Sierra. I would like to make a beep via <code>print('\a')</code> but it doesn't. I have looked at the various suggestions on StackOverflow, but none have caused the MacBook Pro to 'beep' - no sound at all. Please can someone explain why, and what code really does elicit a beep?</p>