Chris Green <c...@isbd.net> wrote: > I'm having a real hard time trying to do anything to a string (?) > returned by mailbox.MaildirMessage.get(). > What a twit I am :-)
Strings are immutable, I have to do:- newstring = oldstring.replace("_", " ") Job done! -- Chris Green ยท -- https://mail.python.org/mailman/listinfo/python-list