Query about doing fortran-esque repeat formatting

Novocastrian_Nomad gregory.j.baker at gmail.com
Sun Nov 8 19:56:40 EST 2009


How about:

print ('%s ' + '%-5.4f ' * 7) % ('text',1,2,3,4,5,6,7)




More information about the Python-list mailing list