适用于python的Windows应用程序

windowsapps的Python项目详细描述


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

License

安装

要从PyPi运行安装windowsapps,请执行以下操作:

pip install windowsapps

使用

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

^{pr2}$

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

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

打开应用程序

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

注意事项

此库适用于电脑上安装的所有应用程序,包括Windows应用商店应用程序。 在Windows10上运行非常好。 使用json&subprocess模块工作。在

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java从Dropwizard中的Minio检索文件时,GET请求中的超时是如何处理的?   带Hibernate的java Jackson用于序列化以避免枚举   Raspberry Pi上的java Jave分段错误   java在屏幕旋转时不保存当前片段和数据   java War文件未在Heroku上正确部署   如何使用Java处理Selenium webdriver中的促销广告或cookie   java处理“用法:PApplet[options]<classname>[sketch args]”   java文本文件错误扫描程序   运行第一个JavaFX模块化程序时出现java异常   java将fileoutputstream转换为字符串   如何调试gstreamerjava?   java Spring RestTemplate ResponseBody类是什么样的   如何将JSON数组转换为Java列表。我在用斯文森   javascript在显示div按钮后进入新页面