Illegal literal or not?

Riccardo Galli riccardo at Togli_Quest0sideralis.net
Sat Jan 25 13:16:19 EST 2003


On Fri, 24 Jan 2003 18:46:18 +0000, LJ & MT Lareau wrote:

> Is it possible to have Python produce the following literal output in the
> interactive mode.
> '"Let's try this!", they said.'

Another way (other than Morris's) is
print r''''"Let's try this",they said' '''

-- 
-=Riccardo Galli=-

 _,e.
s~  ``
 ~@.   ideralis Programs
.   ol 
 `**~  http://www.sideralis.net





More information about the Python-list mailing list