"beep" output in Python


How do I make Python output a “beep”? I’ve tried:



import os


This won’t work on Cloud9. The code is executed on the server rather than your computer. Essentially, you may be generating a beep, but it’ll be coming out of a server farm in a remote location. If you need to output a beep with Cloud9, you can install Ubuntu on your computer, set it up as an SSH workspace, and run the code, which will execute on the computer; needless to say, this is fairly roundabout and eliminates the benefits of working in the cloud!


Thanks for the quick and concise reply.