strip() 2.4.4

Stephen R Laniel steve at
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
Cell: +(617) 308-5571
PGP key:

More information about the Python-list mailing list