代码是很大的!
其实就是python用ctypes调用Win API
import ctypes
import threading
import time
winmm = ctypes.windll.winmmclass Scale:Rest = 0C8 = 108B7 = 107A7s = 106A7 = 105G7s = 104G7 = 103F7s = 102F7 = 101E7 = 100D7s = 99D7 = 98C7s = 97C7 = 96B6 = 95A6s = 94A6 = 93G6s = 92G6 = 91F6s = 90F6 = 89E6 = 88D6s = 87D6 = 86C6s = 85C6 = 84B5 = 83A5s = 82A5 = 81G5s = 80G5 = 79F5s = 78F5 = 77E5 = 76D5s = 75D5 = 74C5s = 73C5 = 72B4 = 71A4s = 70A4 = 69G4s = 68G4 = 67F4s = 66F4 = 65E4 = 64D4s = 63D4 =