binascii.Error: Invalid base64-encoded string: number of data characters (25) cannot be 1 more than a multiple of 4
Python Django 中set_cookie get_cookie 出現這種錯誤 b'5Lit5paHdXRmLTjljrvmjoli' 打印看多了個b ,bytes 解決: data1=base64.b64encode('中文utf-8去掉b'.encode ...
