On Aug 7, 8:42 pm, MRAB <pyt...@mrabarnett.plus.com> wrote: > That should be: > > data = data.replace('<?', '') > data = data.replace('?>', '')
Yes, Thanks MRAB. I did forget that important detail. > Strings don't have an 'insert' method! *facepalm*! I really must stop Usenet-ing whilst consuming large volumes of alcoholic beverages. -- http://mail.python.org/mailman/listinfo/python-list