0

is it important to type the error name after except

i hacent tried it yet so please tell

7th Jan 2017, 9:28 AM
Kushal Sharma
Kushal Sharma - avatar
2 Respostas
+ 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.
7th Jan 2017, 9:35 AM
Ethan
Ethan - avatar
0
just type except: print ("message")
21st Mar 2017, 3:59 PM
Luthfur Khan
Luthfur Khan - avatar