python获取windows各硬件信息 python获取系统内存和CPU信息

一、python获取windows各种硬件信息 import psutil # 系统的内存利用率 free = str(round(psutil.virtual_memory().free / (1024.0 * 1024.0 * 1024.0), 2))+'GB' total = str(roun
posted @ 2021-12-09 16:00  www.pu  Views(2302)  Comments(0Edit  收藏  举报