Skip to content

Instantly share code, notes, and snippets.

@breakersall
Created April 20, 2016 19:38
Show Gist options
  • Save breakersall/4dff4b3095711c85ae72b524f0f4bac2 to your computer and use it in GitHub Desktop.
Save breakersall/4dff4b3095711c85ae72b524f0f4bac2 to your computer and use it in GitHub Desktop.
Example VBA calling and executing Python
Sub zxzcvzxcvzxvxzcv()
'
myAppleScript = "do shell script ""/usr/bin/python -c 'import webbrowser; webbrowser.open_new(\""http://google.com\"")' """
MacScript (myAppleScript)
'
End Sub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment