Can string format operator help me?

Martin v. Löwis loewis at informatik.hu-berlin.de
Fri May 10 03:30:17 EDT 2002


harisri at bigpond.com (Srihari Vijayaraghavan) writes:

> What I want to achieve is something like this:
>      0
>  10000
> ..
> 100000

You should use '%6d' for that.

Regards,
Martin



More information about the Python-list mailing list