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
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. compare
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