This property get the size of the current window.
py.window_size -> Dict[str, int]
size = py.window_size # print the width print(size["width"]) # print the height print(size["height"]
None
Dict[str, int] - The current window's size as a dictionary
Last updated 3 years ago