View Single Post
Posts: 17 | Thanked: 40 times | Joined on Jan 2010 @ Aus
#1
In the python-location docs the section about "Fix attribute members" makes it sounds like we should be able to access the data in GPSDevice.fix using the normal attribute syntax (the dot), but GPSDevice.fix is just a tuple with no extra attributes.

Is this just a style of documentation that I'm not used to, or is GPSDevice.fix supposed to be an object I can access these attributes on? Is there a way to access these attributes by name? Writing things like
Code:
device.fix[1]
(as in the examples on the wiki) doesn't exactly make it clear what you're doing.