Cheers for the reply. But I'm still having a spot of bother with the === addition
it would seem that if there is no whitespace after the ===test then the new === gets added to the next line e.g file contains: ===test (and then no whitesapace/carriage returns or anything) and the result is: ===test === I tried fidding aruond trying to make it add whitespace but it didnt work. What do you think I should do? Cheers -- http://mail.python.org/mailman/listinfo/python-list