On Sun, Jun 19, 2011 at 2:41 PM, candide <candide@free.invalid> wrote: > With Python 2.7 : > >>>> x="foo" >>>> print '"'+x+'"' > "foo"
> What is this curious syntax on line 2 ? Where is it documented ? Just to make it clear to you what is happening - >>> x = "foo" >>> print ' " ' + x + ' " ' " foo " >>> Anyway, it's documented here - http://docs.python.org/tutorial/introduction.html#strings -- http://mail.python.org/mailman/listinfo/python-list