Python, wenn etwas Ausnahme
# Simple example on how to throw an exception if value has a certain value!
x = 10
if x > 5:
raise Exception('x should not exceed 5. The value of x was: {}'.format(x))
ElHok