Python program to move mouse cursor doesn't work as expected : I'm creating a program that utilizes the win32api mouse_event to move the mouse cursor to a certain position. However, the program is not working as expected.
Any help would be most appreciated.
NOTE: I must use win32api and no other library. 

Take this program for example:

    import win32api

    x = 1000
    y = 1000
    win32api.mouse_event(0x0001, int(x), int(y))

It should move the mouse cursor to the 1000th x and y pixels on the screen but it doesn't.


