The problem with readlines() is the size of the input file--it could easily be a poor idea. If I knew it would be a small file that might work. -- .tom -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-list/attachments/20001005/0a831dd2/attachment.html>