Base64 in Python
Jump to navigation
Jump to search
Internal
Overview
import base64
binary_data = ...
c = base64.b64encode(binary_data).decode('utf-8')
import base64
binary_data = ...
c = base64.b64encode(binary_data).decode('utf-8')