On Oct 18, 12:35 pm, mattia <ger...@gmail.com> wrote:
> Yes, reading the doc I've come up with
> s = "%(0)03.02f%(1)s done" % {"0": 100.0-100.0*(size/tot), "1": "%"}
> but to it is not a good idea to use a dict here..

Also look at the new str.format()
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to