... b'SGVsbG8=' bstr = base64.b64decode(b64str) # b'Hello' # convert bytes to str text = bstr.decode('utf-8') #'Hello'.
確定! 回上一頁