Microsoft-style format strings

Andy Robinson andy at reportlab.com
Mon May 22 10:35:11 EDT 2000


Has anybody written anything analogous to the
VB-style format function?

This would be able to do
   format("$#,##0.00", someAmount)
or
   format("ddd dd-mmm-yyyy", someDate)

Hoping-to-save-an-hour-or-two-ly y'rs,

Andy Robinson




More information about the Python-list mailing list