py 3 compatability: 
print(resize_window.getValue())