Hervé Cauwelier added the comment:
Thanks for the example. The Python 2.7 documentation about the mini-language
doesn't clearly state that it is extensible and how. we see examples of
formatting but not of extending.
Your example would be welcome in the document
New submission from Hervé Cauwelier :
Hexadecimals can be formatted to lower and uppercase:
>>> '{0:x}'.format(123)
'7b'
>>> '{0:X}'.format(123)
'7B'
I would like the same thing for strings:
>>> '{0.lastname:u} {0.firs
New submission from Hervé Cauwelier :
Hi,
In class "ZipFile", method "write" accepts "compress_type" parameter but not
the "writestr" method.
I see no reason for this limitation and the change is trivial.
This is needed for generating ODF docum