Archived Talk:Using the PySymbian Sensor module
>>> sensor.get('AccSensor') Traceback (most recent call last):
File "<console>", line 1, in ?
AttributeError: 'module' object has no attribute 'get'
Getting KeyError for AccSensor
The code, as is, throws an error 'module' object has no attribute 'get'
I've modified the code to bypass that and things worked for the RotSensor but when I try the AccSensor, I get a KeyError.
The comment made about a month ago says "...you can not use this program directly on devices..."
I'm not sure what that means - if not devices then what...the emulator? I'm sure I'm missing something or mis-interpreting that comment. Any help?