J
Jeffrey Barish
What is the easiest way to beep the console from a Python program (i.e.,
to do the same thing as echo -e \a)?
to do the same thing as echo -e \a)?
What is the easiest way to beep the console from a Python program (i.e.,
to do the same thing as echo -e \a)?
Jeffrey said:What is the easiest way to beep the console from a Python program (i.e.,
to do the same thing as echo -e \a)?
I tried this solution before posting my question, but I tried it in thePeter said:Jeffrey Barish schreef:
import sys
sys.stdout.write('\a')
or if you don't mind a newline:
print '\a'
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.