A package for entering keys such as VK_SPACE from python http://pydoc.net/Python/PyUserInput/0.1.4/pykeyboard.mac/
It has not been investigated whether it can be used from the Mac OS X terminal.
I don't know how to use it because there is no usage example code.
I think this is easier. http://qiita.com/tukiyo3/items/127c3a57bb283bd548c7
@ tukiyo3's Comment gave a concrete example of using PyUserInput.
Thank you for the information.
Recommended Posts