View Single Post
Old 03-01-2012, 08:25 PM   #254
razorsoup
Enthusiast
razorsoup began at the beginning.
 
razorsoup's Avatar
 
Posts: 33
Karma: 10
Join Date: Jan 2012
Location: Texas, USA
Device: Kindle Paperwhite 4
Quote:
Originally Posted by pchrist7 View Post
Hi razorsoup
I'm not that much of a python programmer, but I suspect python only let's you use 0 padding since pct is an integer and rjust is a string function ?
If that's the way it works, you could try to convert pct from int to string before using rjust. Sorry, don't know how to do this. Google might help you.
If you figure it out, please enlighten us all in this thread
Cheers, Per
I tried converting to a string (I think, I also am not a python programmer) but that didn't work either. Thanks for your help anyways.
razorsoup is offline   Reply With Quote