[Tutor] Strip?

Alan Gauld alan.gauld at btinternet.com
Wed Apr 30 19:29:52 CEST 2008

"Hansen, Mike" <Mike.Hansen at atmel.com> wrote

> What characters are included as whitespace characters? Spaces? Tabs?
> Newlines? For some reason, I was reading whitespace as just spaces.

See wikipedia for miore info but:

"...C  defines whitespace to be "... space, horizontal tab, new-line,
vertical tab, and form-feed"."

So I'd guess CPython uses the same definition.

Alan G 

More information about the Tutor mailing list