I need to be able to open a document using its default application in Windows and Mac OS. Basically, I want to do the same thing that happens when you double-click on the document icon in Explorer or Finder. What is the best way to do this in Python? Answer open and start are command-interpreter things for Mac OS/X and
Tag: macos
Python Sound (“Bell”)
I’d like to have a python program alert me when it has completed its task by making a beep noise. Currently, I use import os and then use a command line speech program to say “Process complete”. I much rather it be a simple “bell.” I know that there’s a function that can be used in Cocoa apps, NSBeep, but