首页 > TAG信息列表 > tmpdict

python获取Windows硬件特征信息

1.python pip安装WMI 并用pyinstaller编译出device_chk.exe # 参考内容:https://blog.csdn.net/fengmm521/article/details/79468677 #!/usr/bin/env python # -*- coding: utf-8 -*- import os, sys import wmi c = wmi.WMI() #处理器 def printCPU(): tmpdict = {} tmpdi