strip() 2.4.4

Stephen R Laniel steve at laniels.org
Thu Jun 21 15:30:06 CEST 2007


On Thu, Jun 21, 2007 at 06:23:01AM -0700, Nick wrote:
> Why is there a apostrophe still at the end?

Is it possible that you actually have whitespace at the end
of the line? So then strip() is looking for an apostrophe at
the end of the line, not finding it, and therefore not
stripping it?

-- 
Stephen R. Laniel
steve at laniels.org
Cell: +(617) 308-5571
http://laniels.org/
PGP key: http://laniels.org/slaniel.key



More information about the Python-list mailing list