[Tutor] unicode: alpha, whitespaces and digits

Dave Angel davea at davea.name
Sun Dec 29 21:28:15 CET 2013


On Sun, 29 Dec 2013 19:20:04 +0000, Mark Lawrence 
<breamoreboy at yahoo.co.uk> wrote:
> > 2. s is empty or contains only whitespaces

Call strip() on it. If it's now empty, it was whitespace.

-- 
DaveA



More information about the Tutor mailing list