Working with bytes.

Bernhard Herzog bh at intevation.de
Mon Apr 5 11:19:03 EDT 2004


Piet van Oostrum <piet at cs.uu.nl> writes:

> Yes, you could in principle use 94 characters. There is a scheme called
> btoa that encodes 4 bytes into 5 ASCII characters by using BASE85, but I
> have never seen a Python implementation of it. It shouldn't be difficult,
> however. 

Is that the same as PDF/PostScript Ascii85?  If so, there's an
implementation somewhere in reportlab, IIRC.

   Bernhard

-- 
Intevation GmbH                                 http://intevation.de/
Skencil                                http://sketch.sourceforge.net/
Thuban                                  http://thuban.intevation.org/



More information about the Python-list mailing list