Simply trying to minimize and maximize a window with known title foo with the following code:
foo
win32gui.ShowWindow(win32gui.FindWindow(None,\'foo\'),6