the "adjusting of spacing" is a problem in python. If you do it wrong python interprets the code wrong. example:
In Basic you write a IF THEN contruct in this way:
Code: Select all
IF A=B THEN
Do anything
ELSE
Do another thing
END IF
Keep going
Code: Select all
If A==B:
Do anything
Else:
Do another thing
Keep going
Code: Select all
If A==B:
Do anything
Else:
Do another thing
Keep going
That means if you readjust the spacing for this:
Code: Select all
message_map = {
win32con.WM_DESTROY: self.OnDestroy
}