You can either find the columns by calling result.keys()
or you can access them through calling v.keys()
inside the for
loop.
Here's an example using items()
:
for v in result:
for column, value in v.items():
print('{0}: {1}'.format(column, value))
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…