En Wed, 11 Apr 2007 17:15:48 -0300, <[EMAIL PROTECTED]> 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
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to