line[6:len(line)-3] is not pythonic. Line[6:-3] is slightly better. I didn't read the code well, just quick-scanned a very little of it. that was the first thing I saw. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/chicago/attachments/20071027/5c03e531/attachment.htm