"Andrew James" <[EMAIL PROTECTED]> wrote

> string containing a single space ' ' but even using s[-1].isspace() 
> I
> lose punctuation marks. Any idea why that's happening?

care to show us what you are doing?

>>> ';'.isspace()
False

So puntuation should not show up as true...

Alan G.


_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to