Answers for "base64 decoded python"

12

base64 encode python

import base64

message = "Python is fun"
message_bytes = message.encode('ascii')
base64_bytes = base64.b64encode(message_bytes)
base64_message = base64_bytes.decode('ascii')

print(base64_message)
Posted by: Guest on January-22-2021
5

decode base64 python

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

base64 python decode

import base64
coded_string = '''Q5YACgA...'''
base64.b64decode(coded_string)
Posted by: Guest on August-27-2020

Python Answers by Framework

Browse Popular Code Answers by Language