title: Calling AppleScript from Python without using osascript or appscript?
body: <p>Is there any way to execute (and obtain the results of) AppleScript code from python without using the <code>osascript</code> command-line utility or <a href="http://appscript.sourceforge.net/" rel="noreferrer">appscript</a> (which I don't really want to use (I think?) because <a href="http://appscript.sourceforge.net/status.html" rel="noreferrer">it's no longer developed/supported/recommended</a>)?</p>
  
  <p>Rationale: in <a href="https://stackoverflow.com/questions/16064957/how-to-check-in-applescript-if-an-app-is-running-without-launching-it-via-osa">another question I've just posted</a>, I describe a strange/undesired behaviour I'm experiencing with running some AppleScript via <code>osascript</code>.  As I'm actually calling it from a python script, I wondered if there was a way to route around <code>osascript</code> altogether, since that seems to be where the problem lies - but appscript (the obvious choice?) looks risky now...</p>