demo_try_except_error.py:
#This will raise an exception, because x is not defined: print(x)
➜ begtut>python demo_try_except_error.py
Traceback (most recent call last):
File "demo_try_except_error.py", line 3, in <module>
print(x)
NameError: name 'x' is not defined