I want to fill out a string with spaces. I know that the following works for zero\'s:
>>> print \"\'%06d\'\"%4 \'000004\'
But wha
Just remove the 0 and it will add space instead:
>>> print "'%6d'"%4