using split for a string : error

Chris Angelico rosuav at gmail.com
Thu Jan 24 06:17:38 EST 2013


On Thu, Jan 24, 2013 at 10:01 PM, inshu chauhan <insideshoes at gmail.com> wrote:
> Yeah I tried printing, there were trailing white spaces, so i used strip()
> and IT Worked !!! :)

Awesome! Keep repr() in mind, it's a great way to check what's really there.

ChrisA



More information about the Python-list mailing list