Erik Max Francis <max at alcyone.com> writes: [...] > You're using .rstrip incorrectly. The second argument to string.rstrip > is a list of characters, any one of which will be stripped if they are [...] Erik means 'a sequence of characters', of course, not a list. John