Cannot get automac python package to work. Error = import: command not found

475 Views Asked by At

I'm trying to use the atomic package. However when I get to the usage steps where it says:

>>> import atomac
>>> atomac.launchAppByBundleId('com.apple.Automator')

I get this error:

-bash: import: command not found

I am using python 2.7.5 on Mavericks. I'm not sure what I'm doing wrong.

1

There are 1 best solutions below

0
On

Install atomac using pip: pip install pyatomac