On Mon, Jun 22, 2009 at 7:25 PM, Wayne wrote:
> With string formatting I know you can easily specify precision a la
> 'file%.2d.jpg' % 1 which would give me 'file01.jpg' but then I discovered
> you can indeed chain together formatting (or use variables in place of
> string constants... of course s
Well, I was going to ask the question, but some experimentation has led me
to the answer which I will share. Mainly because I'm sure someone out there
may come across the need.
I'm writing a function that will generate me a filename such as
"file0001.jpg"
but I want to be able to specify the min