At my current day job, I'm handed a wild variety of data from customers, and most of it hasn't been normalized in any reasonable way. File formats are inconsistent, numbers of fields are randomly inconsistent with the headers, etc.
Attempting to massage these into files I can process has involved a lot of "throw-away" scripting, and I've caught myself doing some really questionable things with basic data structures, leading to my original question. Dictionary key errors have been the most common here lately, popping up in a fairly wide range of circumstances due to seemingly random data. On 8/15/07, wesley chun <[EMAIL PROTECTED]> wrote: > > I guess I couldn't believe it was that simple. ;-) > > now if you had asked about the meanings of *all* exceptions (including > warnings), or perhaps all the SMTP exceptions in smtplib, that would > another matter. ;-) _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor