RR wrote: > Is there an easy way in python to remove whitespace from a string? >>> import string >>> "a b c".translate(string.maketrans("", ""), string.whitespace) 'abc' >>> Peter