Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

run applescript

Project description


$ [sudo] pip install applescript


function __doc__, background=False) run applescript file/string, applescript, background=False) execute applescript tell application "VLC" ...


>>> import applescript
>>> r ='return 1')
>>> r ='path/to/file.applescript')

>>> r.code
>>> r.out
'hello world'
>>> r.err

tell application "appname"

>>>"Terminal",'do script "ls"')
>>>"Terminal",'do script "ls"',background=True)


Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for applescript, version 2019.4.13
Filename, size File type Python version Upload date Hashes
Filename, size applescript-2019.4.13.tar.gz (1.6 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page