xlrd关闭excel文件
While working in Excel 2003 (or earlier versions), you might open several files, to compare them, or copy and paste from one to another. When you're finished with those files, you can quickly close all of them, and leave Excel open. (Note: This tip also works in Word)
在Excel 2003(或更早版本)中工作时,您可能会打开多个文件以进行比较,或者将它们复制并粘贴到另一个文件中。 完成这些文件后,您可以快速关闭所有文件,并使Excel打开。 (注意:本技巧在Word中也适用)
- On the keyboard, press the Shift key. 在键盘上,按Shift键。
- In Excel, click on the File menu 在Excel中,单击“文件”菜单
- Click on the Close All command 单击全部关闭命令

In Excel 2007 you can add the Close All command to the Quick Access Toolbar.
在Excel 2007中,可以将“全部关闭”命令添加到快速访问工具栏。
There are instructions for adding a command on the Microsoft web site, or look in Excel 2007's Help
在Microsoft网站上有添加命令的说明,或在Excel 2007的帮助中查找
xlrd关闭excel文件