def packRequest_window_change(geometry):
 (rows, cols, xpixel, ypixel) = geometry
 return struct.pack('>4L', cols, rows, xpixel, ypixel)

def packRequest_window_change ( geometry ) : ( rows , cols , xpixel , ypixel ) = geometry return struct . pack ( '>4L' , cols , rows , xpixel , ypixel )
pack a window-change request so that it is suitable for sending .