So I am trying to play a simple beep after my code has finished because it takes a while to crunch a lot of data. I have tried other examples on the web, but nothing seems to work. I have tried:
import sys sys.stdout.write('\a') sys.stdout.flush() which outputs the word bel in the IDE shell, but nothing else
I have also tried:
import os print('\a') which outputs the same exact thing.
And I have tried
import os os.system('play --no-show-progress --null --channels 1 synth %s sine %f' % ( 4, 4)) which simply outputs:
sh: play: command not found Anybody have any ideas?
Also here is a jpg containing the word bell. It looks funny... 
I also made sure my volume was up
UPDATE: It might just be my IDE. I tried launching python directly from terminal and using write('\a') and it worked. It just won't work in wing 101
sys.stdout.write('\a')works for me, at least on macOS Sierra 10.12.3sys.stdout.write('\a')works in terminal - not vscode - with a "tok" and outputs 1.print('\a')also works and no output.