Formatting Results so that They Can be Nicely Imported into a Spreadsheet.

Alex Martelli aleax at mac.com
Sun Aug 5 18:24:38 EDT 2007


mensanator at aol.com <mensanator at aol.com> wrote:
   ...
> Even with the "if i" included, we end up with an
> empty list at the start. This because the first "blank"
> line wasn't blank, it was a space, so it passes the
> "if i" test.

...and you can fix that by changing the test to [... if i.split()].


Alex



More information about the Python-list mailing list