files output

Dave Harrison dave at nullcube.com
Sat May 31 02:15:49 EDT 2003


Darren,

supply the code and we can give you some idea of the problem ...

Im not sure how you are splitting the lines, or that call you are making
on the file object ...

Dave

Darren Teo (darrenteo82 at yahoo.com):
> Hey how come when i do this it just outputs the last line and not the rest of the lines ??? I wish to output each line from file into a seperate list .....
> eg. first line ['1', 'yea', '2']
>      sec line ['3', 'hi', '4'] 
>  
> Any help is appreciated.
> 
> 
> 
> ---------------------------------
> Do you Yahoo!?
> Free online calendar with sync to Outlook(TM).





More information about the Python-list mailing list