parse a string of parameters and values
Steven D'Aprano
steve at REMOVE-THIS-cybersource.com.au
Sun Dec 13 01:45:45 EST 2009
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
More information about the Python-list
mailing list