How you cut off the ^M at the end of a line? rstrip is not working. string.rstrip(build_number) thanks, -F -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-list/attachments/20030919/05786b79/attachment.html>