Proper number alignment
Eric Texier
erict at millfilm.co.uk
Thu Jun 20 14:52:09 EDT 2002
You have a function
newstring1 = string.rjust(astring 1,numberofblankSpace)
newstring2 = string.rjust(astring 1,numberofblankSpace)
finalLine = newstring1 + newstring2
mdk wrote:
> I am using \t\t (tabs) to align these numbers (disregard the math):
>
> Total RAM 2,141,056
> Available RAM 12,934,032
> Used RAM 1,024
>
> But they are left justified and I need them right justified.
>
> Any ideas?
>
> Thanks.
More information about the Python-list
mailing list