Created
May 4, 2015 23:34
-
-
Save novas0x2a/06bd9a6d95ada4715359 to your computer and use it in GitHub Desktop.
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.7.9 (default, May 4 2015, 13:10:22) | |
[GCC 4.8.4] on linux2 | |
Type "help", "copyright", "credits" or "license" for more information. | |
>>> import sys | |
>>> from __future__ import print_function | |
>>> sys.excepthook = lambda ex_cls, *args: print(ex_cls.__name__) | |
>>> if you're happy and you know it | |
SyntaxError | |
>>> if you're happy and you know it | |
SyntaxError | |
>>> if you're happy and you know it and you really want to show it if you're happy and you know it | |
SyntaxError |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment