15. Exception Handling [Python 3 Programming Tutorials]

preview_player
Показать описание
This python video will educate us about exception handling. The concepts included in this video is regarding what is exception, types of exception, how to handle an exception and how to figure out the type of exception.

Topics that are covered in this Python Video:
0:00 what are the exception
1:05 basics exception
3:03 Handle the exception
6:58 How to figure out the type of exception?

Next Video:

Рекомендации по теме
Комментарии
Автор

first time this exception handling is so clear!!
Thanks Guruji !!🙏🙏

rishirajrao
Автор

Very clear and simplified with real-life examples. Thank you very much!

kakairecharles
Автор

Sir very well explained.!! I like your videos alot!! Please make more videos ☺️☺️☺️☺️

yashaswani
Автор

We can use type conversion there. In the first 2 statements we can convert the type. Then we may want to use any exceptions there

sumanthkota
Автор

Why was the accident scene funny ... lmao
great content btw

arnabbhor
Автор

this is a simple way to get an exception and return to the code until it works (in this case, the user needs to type a valid number, if he types an letter, for example, it will print the exception and come back to the first line of the loop):
while True:
try:
a=int(input('Número: '))
b=int(input('Numero: '))
except ValueError as ve:
print('Insert valid numbers')
continue
break

tretacast
Автор

Sir please add EndSreen duration 5s and that will help us more to learn.
Thank you Sir.

bayzidhossain
Автор

Exception handling exercises are not available in the git directory, can you please provide those links.

PakkirappaTalari
Автор

*come back(find)
1. type(e).__name__ does? and
2. Instead finding 'type(ErrorType)' and writing that error name in except than is there any way to directly assigning that particular correct error name to our own defined name automatically?

sprudviraj
Автор

@codebasics why pass None thru z? Why not print("Division is: None")?

harinisridhar
Автор

Hi Sir, why try except is used instead of directly correct the error in real situation?

minhaoling
Автор

Can you tell me what the __name__ in type(e).__name__ does?

RM-lbxw
Автор

The screen is always being covered by the icon link to the next video, how can you disable that?

Griffindor
Автор

please upload exception handling, class & objects vedios to your hindi playlist. these two vedio are missing sir.

bhupendrasai
Автор

and also why type(e).__name__ when just type(e) servers the purpose?

nayananr
Автор

Hi sir,
There is no exercise file in github for this exception handling. Kindly provide it to work on it.

miruthubashinis
Автор

why type(e)._name_ when just type(e) servers the purpose?

harshlakhani
Автор

Can anyone explain why print("Division by zero exception") is not getting printed but only print("Type error exception") getting printed in O/P console

nayananr