Guest User

Untitled

a guest
Jan 21st, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. Python 2.6.7 (r267:88850, Sep 13 2011, 16:31:26)
  2. [GCC 4.2.1 (Apple Inc. build 5664)] on darwin
  3. Type "help", "copyright", "credits" or "license" for more information.
  4. >>> exec "print 'toto'"
  5. toto
  6. >>> exec "print 'toto'\r\n"
  7. Traceback (most recent call last):
  8. File "<stdin>", line 1, in <module>
  9. File "<string>", line 1
  10. print 'toto'
  11. ^
  12. SyntaxError: invalid syntax
  13. >>>
  14. anb:~/manny/manny_web/manny$python2.7
  15. Python 2.7.2 (default, Sep 13 2011, 16:35:02)
  16. [GCC 4.2.1 (Apple Inc. build 5664)] on darwin
  17. Type "help", "copyright", "credits" or "license" for more information.
  18. >>> exec "print 'toto'"
  19. toto
  20. >>> exec "print 'toto'\r\n"
  21. toto
  22. >>>
Add Comment
Please, Sign In to add comment