On Sun, 13 Dec 2009 05:52:04 +0000, John Machin wrote: > Steven D'Aprano <steve <at> REMOVE-THIS-cybersource.com.au> writes: [snip] >> If you have multiple keys per line, you need a more sophisticated way >> of splitting them. Something like this should work: [...] > There appears to be a problem with the above snippet, or you have a > strange interpretation of "put this info into a dictionary":
D'oh! In my defence, I said it "should" work, not that it did work! -- Steven -- http://mail.python.org/mailman/listinfo/python-list