Ethan Furman wrote:
--> print("Testing %0*i" % (width, 1))
The '*' acts as a place holder for the width argument.
very nice... -- http://mail.python.org/mailman/listinfo/python-list
Ethan Furman wrote:
--> print("Testing %0*i" % (width, 1))
The '*' acts as a place holder for the width argument.
very nice... -- http://mail.python.org/mailman/listinfo/python-list