In a recent addition to the Python cookbook, Richard Philips presents an elegant way to create dictionaries from lists (plists for you Lisp old timers), using Python's built-in dict, zip, and list slices.
In a recent addition to the Python cookbook, Richard Philips presents an elegant way to create dictionaries from lists (plists for you Lisp old timers), using Python's built-in dict, zip, and list slices.