German umlaut in a string.

Christopher Boomer (don't dash!) c-b-o-o-m-e-r at
Fri Aug 15 09:19:39 CEST 2003

> > But I have a string that was converted from a tuple to a string.
> Oh, hang on... when you 'str' a tuple, its contents get 'repr'ed,
>  so you get backslash escapes...

> PS: You want to be using the .replace() string method for
> things like this

Would converting the tuple to a string with ",".join(mytuple)
rather than str() work more as he expects in this situation?


More information about the Python-list mailing list