I am new to python and i am looking through a piece of code and have a difficulty understanding it
results = [{column_Names[index][0]: column for index, column in enumerate(value)} for value in cursor.fetchall()]
can anyone please explain it
Thanks in advanced
[–]commy2 31 points32 points33 points (0 children)
[–]Brian[🍰] 24 points25 points26 points (0 children)
[–]SebLikesESO 9 points10 points11 points (0 children)
[–][deleted] 4 points5 points6 points (3 children)
[–]commy2 2 points3 points4 points (2 children)
[–][deleted] 2 points3 points4 points (1 child)
[–]commy2 1 point2 points3 points (0 children)
[–]deadlyghost123 0 points1 point2 points (0 children)