Apps#

class Apps(impl)#

是所有 app 对象的集合:

>>> import xlwings as xw
>>> xw.apps
Apps([<Excel App 1668>, <Excel App 1644>])
property active#

返回活动的app。

在 0.9.0 版本加入.

add(**kwargs)#

创建一个新的App。这个新的App会变成活动app。返回这个App对象。

cleanup()#

Removes Excel zombie processes (Windows-only). Note that this is automatically called with App.quit() and App.kill() and when the Python interpreter exits.

在 0.30.2 版本加入.

property count#

返回app的总数。

在 0.9.0 版本加入.

keys()#

提供一组PID,它们是App集合中各个Excel实例的键名。

在 0.13.0 版本加入.