0
How to check exception thrown in python?
i want to check which exception is thrown using try except.
2 Réponses
+ 2
try:
# whatever
except Exception as e:
print(e)
Also look at the error code. Its all in there
0
ok... do it
i want to check which exception is thrown using try except.