def f(s):
raise Exception(s + " : raise Exception")
f("python")
'''
run:
Traceback (most recent call last):
File ".../test.py", line 4, in <module>
f("python")
File ".../test.py", line 2, in f
raise Exception(s + " : raise Exception")
Exception: python : raise Exception
'''