Answers for "what is base64 encode and decode python"

5

decode base64 python

import base64
msg = base64.b64decode(msg)
Posted by: Guest on May-10-2020
2

base64 decode python

>>> import base64
>>> encoded = base64.b64encode(b'data to be encoded')
>>> encoded
b'ZGF0YSB0byBiZSBlbmNvZGVk'
>>> data = base64.b64decode(encoded)
>>> data
b'data to be encoded'
Posted by: Guest on October-16-2020

Code answers related to "what is base64 encode and decode python"

Python Answers by Framework

Browse Popular Code Answers by Language