proposal to allow to set the delimiter in str.format to something other than curly bracket
alia_khouri at yahoo.com
Sun Apr 3 14:17:28 CEST 2011
On Apr 3, 1:53 pm, Corey Richardson <kb1... at aim.com> wrote:
> On 04/03/2011 06:07 AM, Alia Khouri wrote:
> > Hi folks,
> > I've been using ironpython2.7 in a project, and I was generating some
> > csharp code when i discovered that I couldn't use use str.format
> > because the interference with the brackets-aplenty situation in
> > csharp.
> Roll your ownhttp://docs.python.org/library/string.html#string.Formatter
Thanks for the tip, looks I can subclass string.Template to get what I
Kicking myself for posting too early...
More information about the Python-list