base64

John Machin sjmachin at lexicon.net
Wed Apr 12 17:41:11 EDT 2006


On 13/04/2006 7:22 AM, Fredrik Lundh wrote:
> John Machin wrote:
> 
>> *After* encoding it, you can break up the base64 string into
>> bite-size chunks, append a newline (that's "\n", NOT "/n") to each
>> chunk /.../
> 
> 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 :-)



More information about the Python-list mailing list