title: Automator launching python script
body: <p>So I'm trying to have a button in my Excel spreadsheet launch a Python script. Apparently this is only possible on Windows, so on the Mac version people have a workaround where they use Excel to launch an AppleScript which then launches a Python script. </p>
  
  <p>In Automator I've tried selecting Application, and when that didn't work I selected Quick Action, and both times I inserted a 'Run Shell Script' module.</p>
  
  <p>Within that I set the Shell to 'usr/bin/python' and Pass input as 'As Arguments'. Then in the text field I put</p>
  
  <pre><code>do shell script "/Users/user_name/Desktop/integrationtest.py"
  </code></pre>
  
  <p>and I tried</p>
  
  <pre><code>do shell script "python /Users/user_name/Desktop/integrationtest.py"
  </code></pre>
  
  <p>When I click Run in the top right of Automator it says</p>
  
  <pre><code>The action “Run Shell Script” encountered an error: “  File "&lt;string&gt;", line 1
      do shell script "/Users/user_name/Desktop/integrationtest.py"
             ^
  SyntaxError: invalid syntax”
  
    File "&lt;string&gt;", line 1
      do shell script "/Users/user_name/Desktop/integrationtest.py"
             ^
  SyntaxError: invalid syntax
  </code></pre>
  
  <p>Not too sure what I'm doing wrong - any ideas? Thanks for any help</p>