OK, thanks for your explanation, it was just stringisation !
I erroneously focused on +x+as a kind of placeholder unknown to me, instead of left and right concatenations ;)
It would be more readable for me if it were edited >>> print '"' + x + '"' # better spacing "foo" >>> or with string formatting : >>> x="foo" >>> print '"%s"' %x "foo" >>> -- http://mail.python.org/mailman/listinfo/python-list