Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我广泛使用 xlwings,有时我面临退出应用程序的问题:
current_book.app.quit()
以及我不想关闭的其他一些 Excel 实例也会关闭。
文档没有说明在特定应用程序之上打开一本书以避免此类问题的方法,这真的很奇怪。
所以首先是一个问题:当我打开一本新书并说我已经有 3 个 Excel 实例(所有这些实例的名称不同)正在运行(不是用 xlwings 打开)时,新书是在新应用程序中打开的还是在任何3 跑步?
谢谢。