how to open app on macos using python code example
Example: how to make python open an application on mac
import os
os.system("""osascript -e 'tell app "Safari" to open'""")
import os
os.system("""osascript -e 'tell app "Safari" to open'""")