简体   繁体   English

访问Windows注册表Python

[英]Accessing windows registry Python

I am stuck here trying to make a python script to access windows registry. 我被困在这里试图制作一个python脚本来访问Windows注册表。 My issue is that I get an error file not found using the following path: 我的问题是,使用以下路径找不到错误文件:

"SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\NetworkList\\Signatures\\Unmanaged" “ SOFTWARE \\ Microsoft \\ Windows NT \\ CurrentVersion \\ NetworkList \\ Signatures \\ Unmanaged”

It works until NetworkList and afterwards it just returns the error of file not found. 它可以工作到NetworkList,然后返回未找到的文件错误。 I tried using different folders in the directory NetworkList but it gives error file not found for any of them. 我尝试在目录NetworkList中使用其他文件夹,但该文件提供了找不到的错误文件。 Using ragedit I can see that the directories that I am trying to access do exist. 使用ragedit,我可以看到我尝试访问的目录确实存在。 Any ideas? 有任何想法吗?

修复了删除python 32位并安装python 64位的问题,就像魅力一样

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM