<p>Is it possible to make it appear to a system that a key was pressed, for example I need to  make <kbd>A</kbd> key be pressed thousands of times, and it is much to time consuming to do it manually, I would like to write something to do it for me, and the only thing I know well enough is Python.</p>

<p>A better way to put it, I need to emulate a key press, I.E. not capture a key press.</p>

<p>More Info (as requested):
I am running windows XP and need to send the keys to another application.</p>

AutoHotKey
is perfect for this kind of tasks (keyboard automation / remapping)
Script to send "A" 100 times:
```
```
Send {A 100}
```
```
That's all
EDIT
: to send the keys to an specific application:
```
```
WinActivate Word
Send {A 100}
```
```