Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试使用原子包。但是,当我到达它说的使用步骤时:
>>> import atomac >>> atomac.launchAppByBundleId('com.apple.Automator')
我收到此错误:
-bash: import: command not found
我在 Mavericks 上使用 python 2.7.5。我不确定我做错了什么。
使用 pip 安装 atomac: pip install pyatomac
pip install pyatomac