someone knows how to launch an app in mac??
import os
class LaunchApp:
def launch(self):
os.startfile("/Applications/QuickTime Player.app")
s = LaunchApp()
s.launch()
this code works on windows and
os.system('gnome-open ' + /path)
on linux
but in mac, it returns this error "AttributeError: 'module' object has no attribute 'startfile'"