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>