G
grocery_stocker
How come something like '\' causes an error? Here is what I mean.
[cdalten@localhost ~]$ python
Python 2.6.2 (r262:71600, May 3 2009, 17:04:44)
[GCC 4.1.1 20061011 (Red Hat 4.1.1-30)] on linux2
Type "help", "copyright", "credits" or "license" for more information. File "<stdin>", line 1
print "test \"
^
SyntaxError: EOL while scanning string literal
I mean, isn't the '\' a character just like the letter 't'?
[cdalten@localhost ~]$ python
Python 2.6.2 (r262:71600, May 3 2009, 17:04:44)
[GCC 4.1.1 20061011 (Red Hat 4.1.1-30)] on linux2
Type "help", "copyright", "credits" or "license" for more information. File "<stdin>", line 1
print "test \"
^
SyntaxError: EOL while scanning string literal
I mean, isn't the '\' a character just like the letter 't'?