list to string

Michael Gilfix mgilfix at eecs.tufts.edu
Tue Jul 23 19:09:08 EDT 2002


  Yeah, but the topic said "list to string" so I figured that it
might apply to another context than what was just given in the
post..

          -- Mike

On Tue, Jul 23 @ 18:43, Dave Reed wrote:
> 
> Wouldn't
> 
> all_text = file.read()
> 
> do what you want instead of reading the lines and then joining them?
> 
> Dave

-- 
Michael Gilfix
mgilfix at eecs.tufts.edu

For my gpg public key:
http://www.eecs.tufts.edu/~mgilfix/contact.html




More information about the Python-list mailing list