How do I embed an AppleScript in in a Python script?

Posted by dbmikus on Stack Overflow See other posts from Stack Overflow or by dbmikus
Published on 2010-05-31T01:08:23Z Indexed on 2010/05/31 1:12 UTC
Read the original article Hit count: 171

Filed under:
|
|

I am trying to embed an AppleScript in a Python script. I don't want to have to save the AppleScript as a file and then load it in my Python script. Is there a way to enter the AppleScript as a string in Python and have Python execute the AppleScript? Thanks a bunch.

© Stack Overflow or respective owner

Related posts about python

Related posts about osx