first commit
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
################################################################
|
||||
# Install:
|
||||
# * python.exe -m pip install pypiwin32
|
||||
# * python.exe -m pip install wmi
|
||||
#
|
||||
# Usage:
|
||||
# * !! Make sure librehardwaremonitor is running !!
|
||||
# * python basicwmi.py
|
||||
################################################################
|
||||
|
||||
import wmi
|
||||
|
||||
hwmon = wmi.WMI(namespace="root\LibreHardwareMonitor")
|
||||
sensors = hwmon.Sensor(SensorType="Control")
|
||||
|
||||
for s in sensors:
|
||||
print s
|
||||
Reference in New Issue
Block a user