0
is it important to type the error name after except
i hacent tried it yet so please tell
2 Answers
+ 1
Not essentially. If you just type 'except' with no specified error, any error will be accepted. However, it can be good to specify the error, as it can be easier to see what the error is etc.
0
just type
except:
print ("message")