Decorater added the comment: there is also the most common. '{10:02{0}}'.format(an_x) ---------- nosy: +Decorater _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue28827> _______________________________________