Parameterize formatting string

Carsten Haese carsten at uniqsys.com
Fri Sep 21 14:23:20 EDT 2007


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





More information about the Python-list mailing list