If I understand correctly, <code>strip()</code> will remote the <code>\t</code> character, and <code>split()</code> matches the /entire/ seperator string, not just one or more characters. http://docs.python.org/release/2.6.8/library/stdtypes.html#str.split  Maybe using <code>splitlines()</code> would be easier to work with here?