How Do I Send Keystrokes To A Background Window Using Python R Learnpython

How Do I Send Keystrokes To A Background Window Using Python R Learnpython