📜  使用 python 代码示例解码 base64

📅  最后修改于: 2022-03-11 14:46:49.992000             🧑  作者: Mango

代码示例3
#== Decoding ==#

import base64

base64_message = 'UHl0aG9uIGlzIGZ1bg=='
base64_bytes = base64_message.encode('ascii')
message_bytes = base64.b64decode(base64_bytes)
message = message_bytes.decode('ascii')

print(message)