<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def kill_window(pymux, variables):
    " Kill all panes in the current window. "
    for pane in pymux.arrangement.get_active_window().panes:
        pymux.kill_pane(pane)