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

Corey Richardson kb1pkl at aim.com
Sun Apr 3 06:53:08 EDT 2011


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 http://docs.python.org/library/string.html#string.Formatter

-- 
Corey Richardson



More information about the Python-list mailing list