Python Print help ...

Ben Duncan bend at linux4ms.net
Thu Oct 7 15:00:20 PDT 2010


I am writing some python programs to do various reporting.
Is there better ways to do headers and details line then something
like:

print "ID NO         NAME                  ADDRESS ....." (and so on)

I would like to have  string in simply PUT in the line string where I wanted
it to go:

ie: (Psudeo Code)

string.copy(PRINT_HEADING(1), "ID NO")
string.copy(PRINT_HEADING(13), "NAME")

Thanks ...



-- 
Ben Duncan - Business Network Solutions, Inc. 336 Elton Road  Jackson MS, 39212
"Never attribute to malice, that which can be adequately explained by stupidity"
        - Hanlon's Razor



More information about the Linux-users mailing list