I think I found 2 undocumented string format codes.

rantingrick rantingrick at gmail.com
Wed Aug 24 23:22:21 CEST 2011


On Aug 24, 3:45 pm, Bill <bsag... at gmail.com> wrote:
> My google-fu has failed me in finding info on %h and %l string
> formatting codes.

Did it ever occur to you to peruse the docs?
http://docs.python.org/library/stdtypes.html#string-formatting-operations

Stop using the limited deprecated string interpolation and use the new
string format method.
http://docs.python.org/library/string.html#format-string-syntax



More information about the Python-list mailing list