It can be used to send one or more keystrokes to the active window.
SendKeys is a Python extension for Windows which can be used to send one or more keystrokes or keystroke combinations to the active window.
SendKeys exports 1 function, SendKeys, and 1 exception, KeySequenceError.
SendKeys may throw KeySequenceError if an error is found when reading keys. SendKeys reads all keys before pressing any, so if an error is found, no keys will be pressed.