Skip to main content

适用于 python 的 Windows 应用程序

项目描述

windowsapps - 用于管理 Windows 上已安装应用程序的 Python 库

执照

安装

windowsapps要从PyPi 运行安装:

pip install windowsapps

用法

获取所有已安装的应用程序

import windowsapps

installed_applications = windowsapps.get_apps() 
#Gives Dictionary of Application names along with their AppID

获取特定应用程序的名称、AppId

import windowsapps

name, appid = windowsapps.find_app('APPLICATION NAME')
#searches for the APPLICATION NAME and returns:-
#name = Name of the application.
#appid = AppId of the application

打开应用程序

import windowsapps

windowsapps.open_app('APPLICATION NAME')
#Will search for the application APPLICATION NAME and open it.

注意事项

此模块适用于 PC 上安装的所有应用程序,包括 Windows 应用商店应用程序。在 Windows 10 上完美运行。

项目详情


下载文件

下载适用于您平台的文件。如果您不确定要选择哪个,请了解有关安装包的更多信息。

内置分布

windowsapps-0.0.9-py3-none-any.whl (3.1 kB 查看哈希

已上传 py3