base64

Fredrik Lundh fredrik at pythonware.com
Wed Apr 12 17:22:17 EDT 2006


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.

</F>






More information about the Python-list mailing list