2005-12-16 BASE64のエンコード、デコード Python base64モジュールを使う >>> import md5 >>> base64.b64encode('panda') 'cGFuZGE=' >>> base64.b64decode('cGFuZGE=') 'panda'