On 7/10/2009 7:15 PM Angus Rodgers said... > and such misdemeanours > from string import whitespace > > def no_spaces(str): Generally, don't shadow builtins (ie, don't use vars with the same names as builtin functions -- str in this case) Emile