base64 模块中有两个函数 b64encode() and b64decode() 可以帮你解决这个问题。 ... as Base64 >>> a = base64.b64encode(s) >>> a b'aGVsbG8=' >>> # Decode from ...
確定! 回上一頁