Advanced Python Series- Custom Exception Handling In Python

preview_player
Показать описание

Starter In Data Science

1 Complete Machine Learning Playlist:(Top 24 videos)

2 Statistics in Machine Learning:(Understand some Concepts With Respect To Data)- Complete Playlist

3. Feature Engineering(Complete Playlist)

4. Continue The Complete Machine Learning Playlist(24-all the videos)

5. Live Stream Playlist:(Top 10 videos)

6. Machine Learning Pipelines

7. Complete Deep Learning Playlist:

8. Live Projects Playlist:
Рекомендации по теме
Комментарии
Автор

for any of you having doubt like me that why do we create a custom class, well not all errors fall in value error, index error etc. like the dob case above, so we created a new one

freebeast
Автор

I am a beginner and I say your content are awesome. The way you explain is super brain friendly. ❤❤

keenzeen
Автор

Sir you made a mistake in if condition while checking the age, "&" must be replaced by "and".

sakshampandit
Автор

class Error(Exception):
pass

class emailException(Error):
pass

class customgeneric(Error):
pass
email= str(input("Enter your email "))
try:
if '@' in email:
print("Email is valid")
else:
raise emailException
except emailException:
print("Your email needs to have @")

This is an example of a email validation with exception handling.

anishamalblanco
Автор

Hey Kris why you make the class of Error and dobException ?? This can be done directly done in try and except

mukeshsirvi
Автор

Can you please put a video of using big data in image recognition of cnn or any other project :- i want to learn using big data in ML

ankit
Автор

sir please make video on object detection, bert, vgg16

smartemitra
Автор

Hello I am a working Mechanical Engineer.
Wanted to be a Data Scientist.
I have started learning Python.
What should be my strategy for next 6 to 8 months ?

pratikkhairnar
Автор

It's not a good idea to use bitwise operator & instead use 'and'.

Tussu
Автор

Sir, how can we give correct input value again by knowing the exception error of the past entry.

varanasijagadeesh
Автор

Is there a way to return an empty list if you get a certain exception?

Axl
Автор

Hi krish, I am currently on this video. and when i use even year (say 2022 or 2024) then the try block is skipping and only except is running even when the age is in valid range. any help please?

RohitKumar-dgqt
Автор

sir, can you please help in this topic " Predictive analytics for social networks" . it is my final year project. please sir it my request to help me on this topic that what can i do in this..

Abhishekkumar-jrqt
Автор

It should be "and " rather than "&"

rahyousuff
Автор

Check why 2020 born are getting the error ?

adityapathania
welcome to shbcf.ru