I am new to python and the S60.

My question is can Python for the S60 send Keyboard event to another application. I want to control another application on the phone by sending
TCPIP/Serial/BlueTooth commands to an app and then having it inject Keyboard events so that I can Drive the GUI of other Applications.