Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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
- >>>
Add Comment
Please, Sign In to add comment