2008-07-15: Selected articles (including this one) now have experimental "comment" links in the left column and at the bottom. You're welcome to use them for commenting and voting on articles. For a bit more on this, see this page. /F

The encodings.base64_codec Module

(New in 2.2) BASE64 codec. Let’s you use the encode and decode string methods for BASE64 encoding/decoding, instead of importing the base64 module.

encoded_data = data.encode("base64")
decoded_data = encoded_data.decode("base64")
 
[comment on/vote for this article]

A Django site. this page was rendered by a django application in 0.02s 2008-07-25 10:23:53.017594. hosted by webfaction.