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?