根据https://python.freelycode.com/article/detail/736/解决方案: 菜单  Window>restore default layout。但是我的菜单栏没有window。乱点,菜单栏下面一行右键,有Customize Menus and Toolbars, Restore All Defaults。菜单栏就有了Window