def b64encode(data):
    '\n    Encode binary data to ascii text in base64. Data must be bytes.\n    '
    return base64.b64encode(data).decode('ascii')
Encode binary data to ascii text in base64. Data must be bytes.
def b64encode(data):
    '\n    \n    '
    return base64.b64encode(data).decode('ascii')