[docs] example for str.format

Hans Felfer HTFelfer at TWin.at
Sun Oct 3 22:55:37 CEST 2010


I spent do many time for find format for fload

str.format('X{0:.2f}  Y{1:.3f} Z{2:.3f}',a,b,c)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/docs/attachments/20101003/17725e8a/attachment.html>


More information about the docs mailing list