Participer au site avec un Tip
Rechercher
 

Améliorations / Corrections

Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.

Emplacement :

Description des améliorations :

Classe « bytes » Python 3.11.3

Méthode builtins.bytes.zfill

Signature de la méthode zfill

def zfill(self, width) 

Description

help(bytes.zfill)

Pad a numeric string with zeros on the left, to fill a field of the given width.

The original string is never truncated.