[python-win32] Windows Tablet Accelerometers

Tim Roberts timr at probo.com
Sat Mar 4 21:40:31 EST 2017


On Mar 4, 2017, at 11:33 AM, Kurt Eilander <webguy at totalrewind.com> wrote:
> 
> Anybody use python to access built-in accelerometers on windoze?
> 
> I found this:
> https://docs.microsoft.com/en-us/uwp/api/Windows.Devices.Sensors.Accelerometer
> 
> but it appears to be an (COM??) object, so I hate to do battle with that 
> if somebody has already done the leg-work.

It's a WinRT class (Windows Runtime), which is even worse.  It feels like COM, but it lives in a sandbox.  I am not aware of anyone who has managed to integrate WinRT into Python, but I may not be on the cutting edge.
— 
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.



More information about the python-win32 mailing list