0
What does Exception name here represents ?
In Java when try and catch are written the reference of the exception class in written inside parenthesis of catch. But what about Python? What does the name of class written with catch represents?
5 odpowiedzi
+ 2
parag sahu which question as there are 3 - so which one ? Thanks
+ 2
I believe dunder is the general term and methods you are speaking of in Python
https://dbader.org/blog/python-repr-vs-str
0
Here is a reference to explain your questions. A direct explanation would be lengthy at best ... and confusing as well.
https://jython.readthedocs.io/en/latest/chapter6/
0
BroFar thank u so much for the answer. I've gone through it really finds things very helpful especially for the programmer belongs to java background like me. But I didn't found my answer though. So it will be really helpful if u can explain it to me.
0
BroFar the 3rd one