import os # For interacting with the operating system
import time # For adding delays if needed
# Open the Prime Video application on macOS
os.system("open /Applications/PrimeVideo.app")
# Uncomment the following lines for additional functionality:
# Open Google Chrome application on macOS
# os.system("open /Applications/Google\\ Chrome.app") # Note the escaped space in the app name
# Open the Music app on macOS
# os.system("open -a Music.app") # '-a' allows you to specify an application by name
# Add a delay (in seconds) before executing the next command
# time.sleep(5)
# Close the Prime Video application (if needed)
# os.system("pkill PrimeVideo") # Terminates the Prime Video application