what's going on here?

John Salerno johnjsal at NOSPAMgmail.com
Thu Mar 16 12:00:09 EST 2006


Felipe Almeida Lessa wrote:

> # Suppose line is "2004    12      34.2    35.2    33.2"
> # for our comments
> 
> # Creates a list, like ["2004", "12", "34.2", "35.2", "33.2"]
> splitted = line.split() 

Thanks guys! I think what I forgot was that split() returns a list, so 
that's when the 'rows' were being created.



More information about the Python-list mailing list