osascript(applescript, flags=None) function - osascript (AppleScript) python implementation (OS X)