Fernando Perez wrote: > > Note that by default, split() works on whitespace, so it handles automatically > _both_ spaces, newlines and empty lines correctly. ^^^^^^ grammar slap :) I was writing 'both spaces & newlines' first, then I saw an empty line in the code and mentioned it without fixing the sentence. f.