proposal to allow to set the delimiter in str.format to something other than curly bracket

Alia Khouri alia_khouri at
Sun Apr 3 14:17:28 CEST 2011

On Apr 3, 1:53 pm, Corey Richardson <kb1... at> 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 own


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 mailing list