ordinal not in range

Jaap van Wingerde mailinglists at vanwingerde.net
Sat Feb 21 11:16:58 EST 2009


Stefan Behnel wrote:
> 	Omschrijving = Omschrijving.replace(u"priv?", u'privé')
> (mind the u"...")
> 	outfile = codecs.open(output, "wb", encoding="UTF-8")
> (mind the "wb" for 'write binary/bytes')
It works now!

> Looks like you'd be happier with Python 3.0, BTW...
Python 3 is not in Debian Lenny.

With your help I made my first Python-script. This script saves me from
hours dumb work.

Thanks a lot!!




-- 
Jaap van Wingerde
e-mail: 1234567890 at vanwingerde.net





More information about the Python-list mailing list