Created
September 15, 2011 07:42
-
-
Save anb/1218761 to your computer and use it in GitHub Desktop.
Baqueslachère
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Python 2.6.7 (r267:88850, Sep 13 2011, 16:31:26) | |
[GCC 4.2.1 (Apple Inc. build 5664)] on darwin | |
Type "help", "copyright", "credits" or "license" for more information. | |
>>> exec "print 'toto'" | |
toto | |
>>> exec "print 'toto'\r\n" | |
Traceback (most recent call last): | |
File "<stdin>", line 1, in <module> | |
File "<string>", line 1 | |
print 'toto' | |
^ | |
SyntaxError: invalid syntax | |
>>> | |
anb:~/manny/manny_web/manny$python2.7 | |
Python 2.7.2 (default, Sep 13 2011, 16:35:02) | |
[GCC 4.2.1 (Apple Inc. build 5664)] on darwin | |
Type "help", "copyright", "credits" or "license" for more information. | |
>>> exec "print 'toto'" | |
toto | |
>>> exec "print 'toto'\r\n" | |
toto | |
>>> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment