Podnieś wyjątek bez Python Traceback

# I'm pretty sure that is impossible
# No matter how you raise your exception you will always get traceback

raise Exception('This is an exception')

# Console output:
# Traceback (most recent call last): (<<< --- THAT right there, is a Traceback!)
#  File "C:\Users\admin\Desktop\Code\Cats.py", line 1, in <module>
#    raise Exception('This is an exception')
Old-fashioned Otter