Created
April 20, 2016 19:38
-
-
Save breakersall/4dff4b3095711c85ae72b524f0f4bac2 to your computer and use it in GitHub Desktop.
Example VBA calling and executing Python
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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