On Tue, May 13, 2014 at 04:50:40PM +1000, Josh Bode wrote:
> How about "{0:<{1}}".format(something, 10)

Yeah that's the way.

FWIW we can do this kind of thing with printf in C and shell, too:
        printf("%*d",10,4);
        printf "%*d" 10 4
_______________________________________________
melbourne-pug mailing list
[email protected]
https://mail.python.org/mailman/listinfo/melbourne-pug

Reply via email to