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 :-) -- http://mail.python.org/mailman/listinfo/python-list