Base64 in Python

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

Internal

Overview

import base64
binary_data = ...
c = base64.b64encode(binary_data).decode('utf-8')