Dynamic Zero Padding.
harrismh777
harrismh777 at charter.net
Tue Jun 7 18:01:20 EDT 2011
Ethan Furman wrote:
> --> print("Testing %0*i" % (width, 1))
> The '*' acts as a place holder for the width argument.
very nice...
More information about the Python-list
mailing list