Can I build a dictonary with a list-comprehension?

spex66 spex66 at web.de
Fri Aug 31 06:45:49 EDT 2001


Hi there,

I ask mysel, if there is a tricky (or simple) way to build a dictonary with
the list-comprehesion-style:

[x for x in y]

thanks for any hint

Peter
(=PA=)





More information about the Python-list mailing list