Hi Les. les wrote: > consider this, > >>>> print "%-3d" % 10 > 10 > > how do I get python to print "010" instead? >>> print "%03d" % 10 should do the trick. Dave