Hello,
I accidentally did this in the shell.
>>> ''r''
''
>>> ''r'' == ''
True
>>> ''r'' == ""
True
That is <singlequote singlequote r singlequote singlequote>. However if I
try ->
>>> ''c''
File "<stdin>", line 1
''c''
^
SyntaxError: invalid syntax
>>> ''z''
File "<stdin>", line 1
''z''
^
SyntaxError: invalid syntax
Any other character that way is Invalid Syntax. What is so special about
character r enclose within a pair of single quotes?
Regards,
Harish
--
http://mail.python.org/mailman/listinfo/python-list