En Wed, 11 Apr 2007 17:15:48 -0300, <mike.aldrich at gmail.com> escribió: > The file contents have leading whitespace, then a number: > 123456 \n > I expect to return '123456' And nothing following the number? py> line = " 123456 \n" py> print line.strip() 123456 -- Gabriel Genellina