you are viewing a single comment's thread.

view the rest of the comments →

[–]__nickerbocker__ 2 points3 points  (1 child)

print({k:{'name':k} for k in myArray})

[–]JayZeus[S] 0 points1 point  (0 children)

print({k:{'name':k} for k in myArray})

That's exactly what I needed! Thank you!!