python的base64.decodestring方法做base64解码时报错:
:param data: Base64 data as an ASCII byte string
:returns: The decoded byte string.
"""
missing_padding = 4 - len(data) % 4
if missing_padding:
data += b'='* missing_padding
return base64.decodestring(data)
新闻热点
疑难解答
图片精选