I have a dictionary with the name of a circle arc and the location for the arc. I would like to use for loop to create all the arcs in the dictionary. When I run this code I can error TypeError: 'dict_keys' object does not support indexing
Here is the relevant code:
self.gaugeDict={"gauge1": [100,105,100],
"gauge2": [300,105,100],
"gauge3": [100, 210, 100],
"gauge4": [300, 210, 100]}
for i in range(len(self.gaugeDict)):
self.w.create_circle_arc(self.gaugeDict.keys()[i][0],
self.gaugeDict.keys()[i][1],
self.gaugeDict.keys()[i][2],
fill="black",
outline="",
start=180,
end=0)