PyDocs

Nav

Python Runtime Services

bytes.center

builtins

method of bytes
  • bytes.center(width, fillbyte=b' ', /)
Return a centered string of length width.

Padding is done using the specified fill character.
0 Examples
No examples for builtins/bytes.center.
See Also
No see-alsos for builtins/bytes.center
0 Notes
No notes for bytes.center