🌈 搜索
📅  最后修改于: 2022-03-11 14:46:37.353000             🧑  作者: Mango
data = '{"hello": "world"}' enc = data.encode() # utf-8 by default print base64.encodestring(enc)