ID EN
Struct

size

Python 3.11

The calculated size of the struct (and hence of the bytes object produced by the pack() method) corresponding to format.

Syntax

PYTHON
size

See Also

pack() format