Zipping a dictionary whose values are lists
Peter Otten
__peter__ at web.de
Fri Apr 13 12:29:14 EDT 2012
Alexander Blinne wrote:
> zip(*[x[1] for x in sorted(d.items(), key=lambda y: y[0])])
Why not zip(*[x[1] for x in sorted(d.items())])?
More information about the Python-list
mailing list