Re: escaping quotes

2006-02-28 Thread John Salerno
Fredrik Lundh wrote: > because the interactive prompt echos the result back to you as > a Python literal, where possible. compare Ah, of course! I forgot it wasn't 'print'ing it. Thanks! -- http://mail.python.org/mailman/listinfo/python-list

Re: escaping quotes

2006-02-28 Thread Fredrik Lundh
John Salerno wrote: > I'm reading through the tutorial and found this in section 3: > > >>> '"Isn\'t," she said.' > '"Isn\'t," she said.' > > Why doesn't the escape sequence work in this case? because the interactive prompt echos the result back to you as a Python literal, where possible. compa

escaping quotes

2006-02-28 Thread John Salerno
I'm reading through the tutorial and found this in section 3: >>> '"Isn\'t," she said.' '"Isn\'t," she said.' Why doesn't the escape sequence work in this case? -- http://mail.python.org/mailman/listinfo/python-list