On Jun 5, 5:43 pm, Peter Otten <__pete...@web.de> wrote: > You can remove all strip() methods here as split() already strips off any > whitespace from the columns. > > Not really important, but the nitpicker in me keeps nagging ;)
Thanks, I really should have checked but just pushed the OPs code into a function, I didn't want to startle them with completely different code :) As I mentioned, I would've used the csv module for this anyway, which is why I never remember the split/strip behaviour. Nitpickery can be a virtue in this field :) -- http://mail.python.org/mailman/listinfo/python-list