Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #2526
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!nx02.iad01.newshosting.com!newshosting.com!69.16.185.16.MISMATCH!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!postnews.google.com!e21g2000yqe.googlegroups.com!not-for-mail |
|---|---|
| From | Alia Khouri <alia_khouri@yahoo.com> |
| Newsgroups | comp.lang.python |
| Subject | Re: proposal to allow to set the delimiter in str.format to something other than curly bracket |
| Date | Sun, 3 Apr 2011 05:17:28 -0700 (PDT) |
| Organization | http://groups.google.com |
| Lines | 21 |
| Message-ID | <0c67412d-32fa-498e-bc2a-23a48e1deef3@e21g2000yqe.googlegroups.com> (permalink) |
| References | <a227e6f7-45ae-4404-973f-b69adf156440@d19g2000yql.googlegroups.com> <mailman.166.1301828304.2990.python-list@python.org> |
| NNTP-Posting-Host | 77.64.34.96 |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=ISO-8859-1 |
| Content-Transfer-Encoding | quoted-printable |
| X-Trace | posting.google.com 1301833048 10234 127.0.0.1 (3 Apr 2011 12:17:28 GMT) |
| X-Complaints-To | groups-abuse@google.com |
| NNTP-Posting-Date | Sun, 3 Apr 2011 12:17:28 +0000 (UTC) |
| Complaints-To | groups-abuse@google.com |
| Injection-Info | e21g2000yqe.googlegroups.com; posting-host=77.64.34.96; posting-account=JpguVgkAAADqN74X0DsRXOFZeQmOOovX |
| User-Agent | G2/1.0 |
| X-HTTP-UserAgent | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.0) Gecko/20100101 Firefox/4.0,gzip(gfe) |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.python:2526 |
Show key headers only | View raw
On Apr 3, 1:53 pm, Corey Richardson <kb1...@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 need. Kicking myself for posting too early... AK
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
proposal to allow to set the delimiter in str.format to something other than curly bracket Alia Khouri <alia_khouri@yahoo.com> - 2011-04-03 03:07 -0700
Re: proposal to allow to set the delimiter in str.format to something other than curly bracket Corey Richardson <kb1pkl@aim.com> - 2011-04-03 06:53 -0400
Re: proposal to allow to set the delimiter in str.format to something other than curly bracket Alia Khouri <alia_khouri@yahoo.com> - 2011-04-03 05:17 -0700
Re: proposal to allow to set the delimiter in str.format to something other than curly bracket Terry Reedy <tjreedy@udel.edu> - 2011-04-04 01:17 -0400
Re: proposal to allow to set the delimiter in str.format to something other than curly bracket Alia Khouri <alia_khouri@yahoo.com> - 2011-04-04 08:42 -0700
Re: proposal to allow to set the delimiter in str.format to something other than curly bracket Peter Otten <__peter__@web.de> - 2011-04-04 18:18 +0200
Re: proposal to allow to set the delimiter in str.format to something other than curly bracket Alia Khouri <alia_khouri@yahoo.com> - 2011-04-04 13:45 -0700
Re: proposal to allow to set the delimiter in str.format to something other than curly bracket Neil Cerutti <neilc@norwich.edu> - 2011-04-05 13:45 +0000
Re: proposal to allow to set the delimiter in str.format to something other than curly bracket Alia Khouri <alia_khouri@yahoo.com> - 2011-04-04 14:32 -0700
csiph-web