keyboard emulation

Is there a lib in python which allows automation of keyboard sequences (for want of a better expression 'keyboard emulation') I'm pretty new to python, so please be easy on me if it's a really daft question. :P Thanks.

Ah good old SendKeys. I have written whole programs using this. Its a really great module to use. It is really simple but it has one pitfall in my mind. That is that every time that you use it NumLock is disabled. I know that dosent affect some people because they either dont use the numpad or they have laptops that dont actually have a numpad.

Thanks, woooee, I've had a quick look at xvkbd and suspect that it isn't quite what I need. One of the things I want to do is to pass sections of text to a speech-app (e.g. eSpeak); so, I'll have to spend a bit more time looking at the xvkbd-options. Thanks, once again.

Hi. so this is actually a continuation from another question of mine[Here](https://www.daniweb.com/programming/software-development/threads/506795/dynamically-add-values-into-datagridview-cell-from-listbox-vb2010) but i was advised to start a new thread as the original question …

I have a 2d matrix with dimension (3, n) called A, I want to calculate the normalization and cross product of two arrays (b,z) (see the code please) for each column (for the first column, then the second one and so on).
the function that I created to find the ...

Write a C program that should create a 10 element array of random integers (0 to 9). The program should total all of the numbers in the odd positions of the array and compare them with the total of the numbers in the even positions of the array and indicate ...