Function
base64.standard_b64encode

Signature

standard_b64encode(s)

Documentation String

Encode a string using the standard Base64 alphabet.

s is the string to encode. The encoded string is returned.