Friday 8 January 2010

leading zeros

This was handy

"%05d" % int

if int = 123 it will give you the string "00123"

No comments:

Post a Comment