base64

Fredrik Lundh fredrik at pythonware.com
Thu Apr 13 02:38:36 EDT 2006


John Machin wrote:

> > base64.encodestring(data) does all that in one step, of course.
>
> and it's tagged as part of the "legacy interface", and gives no control
> over the chuck size, of course :-)

if you read the documentation, it's clear that legacy means "base64 only",
not "deprecated".  it uses the chunk size specified by the MIME standard,
which is the traditional Base64 reference.

it's not like Base16 and Base32 are new things that will soon overtake the
old and little used Base64-according-to-MIME encoding...

</F>






More information about the Python-list mailing list