python3操作注册表

1、python3获取软件安装路径

https://blog.csdn.net/mp624183768/article/details/84801623

# -*- coding:utf-8 -*-
import winreg
###注册表路径自己定
key = winreg.OpenKeyEx(winreg.HKEY_LOCAL_MACHINE, r"SOFTWAREWOW6432NodeMicrosoftWindowsCurrentVersionUninstall百度云管家")
data = winreg.QueryValueEx(key, "DisplayIcon")
print(data[0])

2、

https://www.cnblogs.com/xiaoxin453051690/p/7851688.html

3、python3.x获取windows自启动程序列表

https://blog.csdn.net/CosmopolitanMe/article/details/81121453

4、

key = winreg.OpenKey(winreg.HKEY_CURRENT_USER, "SoftwareMicrosoftWindowsCurrentVersionRun")
5四种获取已安装程序列表方法

https://blog.csdn.net/yanchenyu365/article/details/90753032

原文地址:https://www.cnblogs.com/yaok430/p/11556742.html