print('\tLocation: (%d, %d)' % (x, y))
print('\t    Size: (%d, %d)' % (w, h))

def main():
    win32gui.EnumWindows(callback, None)
if __name__ == '__main__':
    main()
Get window position & size with python