Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

src/a/l/alarmist-HEAD/ThinkPadShockSensor.py   alarmist(Download)
import ctypes
from BaseSensor import BaseSensor
from AlarmistExceptions import WrongOptionsError, NotSupportedError
 
class SensorData(ctypes.Structure):
			self.func = ctypes.windll.Sensor.ShockproofGetAccelerometerData
		except:
			raise NotSupportedError('ThinkPadShockSensor')
 
	def checkIfWeAreScrewed(self):