str.zfill

zfill(width)

Return the numeric string left filled with zeros in a string of length width. The original string is returned if width is less than len(s). New in version 2.2.2.

 

A Django site. rendered by a django application. hosted by webfaction.