Re: Format string with single quotes in it

2009-09-26 Thread Bahadir
On Sep 26, 6:33 am, "Gabriel Genellina" wrote: > > So, look in your file for lines ending in % > > -- > Gabriel Genellina Hello All, I fixed it with your help. Sometimes you need that extra insight from comp.lang.python. Thank you so much, Bahadir -- http://mail.python.org/mailman/listinfo/p

Re: Format string with single quotes in it

2009-09-25 Thread Gabriel Genellina
En Fri, 25 Sep 2009 09:42:11 -0300, Bahadir escribió: still struggling to get this right: How do I format a string that contains single quotes in it? Forget single quotes. Your problem doesn't appear to be related to those quotes. I am reading a file with lines of the form: CONT%d_VIR

Re: Format string with single quotes in it

2009-09-25 Thread Jon Clements
On 25 Sep, 13:42, Bahadir wrote: > Hi there, > > My question is simple, but I've been spending some hours over the web > and still struggling to get this right: How do I format a string that > contains single quotes in it? > > I am reading a file with lines of the form: > > CONT%d_VIRTMEM_REGIONS

Re: Format string with single quotes in it

2009-09-25 Thread Mark Tolonen
"Bahadir" wrote in message news:65b6ce03-62c7-4e56-a746-d85ce87ad...@l31g2000vbp.googlegroups.com... Hi there, My question is simple, but I've been spending some hours over the web and still struggling to get this right: How do I format a string that contains single quotes in it? I am readin

Re: Format string with single quotes in it

2009-09-25 Thread Xavier Ho
On Fri, Sep 25, 2009 at 10:42 PM, Bahadir wrote: > Hi there, > > My question is simple, but I've been spending some hours over the web > and still struggling to get this right: How do I format a string that > contains single quotes in it? > I don't know what you're doing wrong, but I've tried bo