On Fri, 2007-09-21 at 20:16 +0200, David wrote:
> Or, more ugly:
> 
> "%%%di" % a % 12

Or, less ugly: "%*i" % (a,12)

-- 
Carsten Haese
http://informixdb.sourceforge.net


-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to