父窗口,保存子窗口的对象,
win = open(....)win.close()
window.close();