Problem using s.strip() to remove leading whitespace in .csv file

Guillaume Chorn guillaumechorn at
Wed Feb 29 04:05:34 EST 2012

Thanks, the suggestion

print name.decode("utf-8").strip()

worked like a charm.  When I did the print repr(name) I got exactly what
you predicted.  I'm not yet sure what all of this means, but I'm going to
read this <> in the hopes of
finding out.  Anyway thanks again for the help!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list