Using Python 3.3.3 and the pywin32 api.
I'm new to python and trying to simplify my script. I'm trying to assign a single value to multiple variables but it says
Illegal expression for augmented assignment
import win32api
import win32con
import time
#makes sure your computer doesnt lock when idle for too long...
def move(x, y):
for i in range(10):
win32api.SetCursorPos((x,y))
if(i % 1 == 0): x, y += 10 #this is where it crashes
if(i % 2 == 0): x, y -= 10
time.sleep(5)
move(500, 500)