Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #37565 > unrolled thread

Re: using split for a string : error

Started byChris Angelico <rosuav@gmail.com>
First post2013-01-24 22:17 +1100
Last post2013-01-24 22:17 +1100
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: using split for a string : error Chris Angelico <rosuav@gmail.com> - 2013-01-24 22:17 +1100

#37565 — Re: using split for a string : error

FromChris Angelico <rosuav@gmail.com>
Date2013-01-24 22:17 +1100
SubjectRe: using split for a string : error
Message-ID<mailman.964.1359026261.2939.python-list@python.org>
On Thu, Jan 24, 2013 at 10:01 PM, inshu chauhan <insideshoes@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

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web