[Python-Dev] Easy codec access

Guido van Rossum guido@digicool.com
Tue, 15 May 2001 11:35:09 -0500


> I've just checked in a set of patches which implement the new
> .decode() method along with a couple of useful codecs.

Cool!

> To see just how easy it is to write codecs, please have
> a look at the string codecs I added in this patch (e.g.
> zlib_codec.py or hex_codec.py). I am pretty sure that there
> are a lot more useful things in the standard lib which could
> benefit from these easy-to-use interfaces.

As an excercise, I added a quoted-printable codec.  It was easy
indeed!

--Guido van Rossum (home page: http://www.python.org/~guido/)