German umlaut in a string.
mwh at python.net
Thu Aug 14 19:18:41 CEST 2003
Lukas Kasprowicz <nospam at maniacxs.de> writes:
> Hi Leszek,
> When I create a string with
> It works!
> 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
Some people say that a monkey would bang out the complete works
of Shakespeare on a typewriter give an unlimited amount of time.
In the meantime, what they would probably produce is a valid
sendmail configuration file. -- Nicholas Petreley
More information about the Python-list