[Tutor] string

Alan Gauld alan.gauld at freenet.co.uk
Mon Oct 24 21:34:04 CEST 2005


> what does the following sentence mean? does it mean i can not use
> double-quoted string?
> SyntaxError: EOL while scanning single-quoted string

No, it means you didn't correctly terminate the string with a matching 
quote.
The error is slightly ambiguous, the word 'single' here means there is only
one quote sign, it is not referring to the use of  '  instead of  " ...

Alan G.




More information about the Tutor mailing list