ID EN
Base64

standard_b64encode

Python 3.11

Encode bytes-like object s using the standard Base64 alphabet and return the encoded bytes.

Syntax

PYTHON
base64.standard_b64encode(s)

See Also

bytes-like object bytes