[Tutor] Fw: KeyError list?
Rob Andrews
rob.andrews at gmail.com
Thu Aug 16 14:57:40 CEST 2007
I wasn't familiar with it prior to this thread, as previously I'd had
the good fortune to use normalized data. I guess more pristine data
environments spoiled me into writing less robust code.
So although I asked what turned out to be the wrong question, I seem
to be getting a consensus answer I'm sure I'll have a chance to put to
the test over and over here.
On 8/16/07, Kent Johnson <kent37 at tds.net> wrote:
> Do you know about dict.get()? It will return None or a default value of
> your choice if a key is missing. Might be helpful...
More information about the Tutor
mailing list