Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment:
All your samples explain easily if you consider that two adjacent string
literals are joined together. (You seem to consider that "double quote"
is a way to insert a quote character. It's not; Python is not Pascal or
SQL)
Your first
New submission from Felipe <[EMAIL PROTECTED]>:
Hi
I have a problem with python 2.6, when i try to process strings with
triple-quoted string literal i get an error:
a='a''a' #1 double quoted Ok
a='aa' # 2 Ok
a= 'a''a' # 3 doble quoted -- SyntaxError: EOF while scanning
triple-quoted s