Apps#

class Apps(impl)#

すべての:meth:app <App> オブジェクトのコレクション:

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

戻り値はアクティブなappです。

バージョン 0.9.0 で追加.

add(**kwargs)#

新規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()#

Appsコレクションのキーとなる、各ExcelインスタンスのPIDを返します。

バージョン 0.13.0 で追加.