1

Possible Duplicate:
Key Presses in Python

I want to know if there is a easy way to make python act as a keyboard. I have a CNC mill that runs off a windows machine using Mach 3.

I want to create a python script that will jog the mill for me. To jog the mill you just press buttons on a keyboard to move normally.

So is there a python library that will act as a keyboard in a different program?

Community
  • 1
  • 1
Ashley Hughes
  • 571
  • 1
  • 6
  • 18

1 Answers1

2

If you must use python, try pywinauto or AutoPy.

I prefer AutoIt or AutoHotKey.

kshahar
  • 10,423
  • 9
  • 49
  • 73