虽然“Popen”的答案对一般情况来说是合理的,但我想
如果您想做些什么,请为这种特定情况推荐“win32api”
使用它很有用:
它是这样的:
from win32com.client import Dispatchxl = Dispatch('Excel.Application')wb = xl.Workbooks.Open('C:\documents and Settings\GradeBook.xls')xl.Visible = True # optional: if you want to see the spreadsheet取自[邮件列表](https://mail.python.org/pipermail/python-
list/2005-June/315330.html),但这里有很多例子。



