I am trying to add spacing to align text in between two strings vars without using \" \" to do so
Trying to get the text to look like this, with the second co
Try %*s and %-*s and prefix each string with the column width:
%*s
%-*s
>>> print "Location: %-*s Revision: %s" % (20,"10-10-10-10","1") Location: 10-10-10-10 Revision: 1 >>> print "District: %-*s Date: %s" % (20,"Tower","May 16, 2012") District: Tower Date: May 16, 2012