2024-09-28 03:18:24 发布
网友
我想在psutil.sensors_temperatures()生成的列表中获取一个值。如何在此列表中获得50.0值
psutil.sensors_temperatures()
list = [shwtemp(label='', current=50.0, high=103.0, critical=103.0)]
我试过拉psutil产生的温度值。acptiz是字典中的一个列表
温度=(psutil.sensors\u temperatures().get('acpitz')[0][1])
我试过拉psutil产生的温度值。acptiz是字典中的一个列表
温度=(psutil.sensors\u temperatures().get('acpitz')[0][1])
相关问题 更多 >
编程相关推荐