#63 Python Tutorial for Beginners | Exception Handling

แชร์
ฝัง
  • เผยแพร่เมื่อ 23 พ.ย. 2024

ความคิดเห็น • 423

  • @srikanth-ry8lp
    @srikanth-ry8lp 4 ปีที่แล้ว +32

    mamulu racha kadu, I was almost ready to pay for python classes and i found this channel. THE BEST channel to learn coding.

  • @sahej97
    @sahej97 5 ปีที่แล้ว +52

    Sir your teaching style is innovative and the tidbits that you say in-between is what makes you a great teacher.
    I've been taught by many teachers and I can say the level at which teach, for which other teachers get paid a lot, but you deliver all this for free is commendable.
    Thank you very much Sir for rejuvenating my passion for Python.

  • @aryanfalke5751
    @aryanfalke5751 5 ปีที่แล้ว +66

    I literally learned the entire python language through your videos. Tysm for great videos and simplified explanation

  • @ShoaibKhan0701
    @ShoaibKhan0701 5 ปีที่แล้ว +68

    Itna to college wale bhi nahi karate jitna navin ji samjha dete h ❣️❣️❣️

  • @vojtechbrecka201
    @vojtechbrecka201 3 ปีที่แล้ว +6

    So I am slowly approaching the end of your Python course, Sir, and I have to thank you. I have started just a few weeks ago as a total beginner, and because of you, I can now write a simple applications, and (and that's most important) I can think as a programmer which made learning other languages a lot easier for me. Thank you, Sir Navin Reddy

  • @sam.mankar
    @sam.mankar 4 ปีที่แล้ว +103

    Telusko = 1
    Navin_Reddy_Sir = 100
    try:
    print("Telusko + Navin_Reddy_Sir")
    except:
    print("you don't have any errors, Sir.")
    finally:
    print("you are still the best")

  • @AshrafulHussainKhan
    @AshrafulHussainKhan 3 ปีที่แล้ว +6

    It was always confusing for me about the error handling. You made it crystal clear today. I like your simplicity in teaching complex concepts.

  • @akashsahni9407
    @akashsahni9407 6 ปีที่แล้ว +191

    Mr Perfect = Navin Reddy Sir

    • @Busy_mind24
      @Busy_mind24 2 ปีที่แล้ว +1

      Python=Navin reddy sir💕

  • @sujalsubramani1543
    @sujalsubramani1543 2 ปีที่แล้ว +1

    u made easier sir better than my teachers or frnds thanks a lot

  • @giuseppepala8668
    @giuseppepala8668 5 ปีที่แล้ว +6

    "The general doctor" 👍
    Nicely put. My compliments!

  • @rahulprasadsingh2639
    @rahulprasadsingh2639 4 ปีที่แล้ว +2

    a=5
    b=2
    try:
    print("resource open")
    print(a/b)
    k=int(input("enter a number"))
    print(k)
    except ZeroDivisionError as e:
    print("Hey, you cannot divide a number by zero",e)
    except ValueError as e:
    print("Invalid input", e)
    except Exception as e:
    print('something went wrong...',e)
    finally:
    print('resource closed')

  • @bubblebath2892
    @bubblebath2892 7 หลายเดือนก่อน +1

    You really have a knack for teaching ...brilliant

  • @jindaldreams
    @jindaldreams 4 ปีที่แล้ว +4

    Great explanation.
    Also I like all your catch phrases. Eg, "Hold on" and "For those with Java, C++ background will be familiar with this" and "You might be wondering" and "What would happen if" and "Oh thats weird, what if i do this.."

  • @attilapaucsa4875
    @attilapaucsa4875 3 ปีที่แล้ว +4

    Thank you very much for this tutorial! It was that part of coding what I have never understood exactly, until I've seen your video!

  • @054_ritesh3
    @054_ritesh3 4 ปีที่แล้ว +2

    I have started loving python because of your teaching sir hats off to you🙏🙏🙏🙏🙏

  • @andressaa2180
    @andressaa2180 4 ปีที่แล้ว +5

    You're a great instructor, thanks for sharing these concepts in a way that beginners can actually understand :)

  • @danielkamau8436
    @danielkamau8436 4 ปีที่แล้ว +3

    A good class that can easily confuse if one is not careful.....otherwise you are Mr Good in this field, as a starter, I feel challenged to when I will be there. Again thanks to my classmates because the comments we write here are also resourceful by far when I read, understand and
    run them, I get informed of extra things. Big up guys.

  • @karthick2237
    @karthick2237 5 ปีที่แล้ว +3

    The best video for Exception handling in TH-cam. Nailed it sir.

  • @madhavaprashath1453
    @madhavaprashath1453 5 ปีที่แล้ว +6

    i wish i had a teacher like u in my school!!!!!!!!!!!!

  • @priyasoni4531
    @priyasoni4531 4 ปีที่แล้ว +3

    Sir you are great with thier easy explanation.i learn most of the thing in python for your channel .it is very good and easy to understand.
    Thank you sir...

  • @vigneshkontam5742
    @vigneshkontam5742 8 หลายเดือนก่อน

    very crisp explanation. Small and simple examples which I was easy to get an understanding, i.e the fridge concept= open a door take a bottle then close it.

  • @codex8332
    @codex8332 4 ปีที่แล้ว +2

    The most intriguing and easy going class so far

  • @philipdaseh9745
    @philipdaseh9745 4 ปีที่แล้ว +2

    You are a very good teacher, the way you explain with simplicity is awesome.

  • @Jdjdhsgxuxu
    @Jdjdhsgxuxu 2 ปีที่แล้ว +1

    You’re the best teacher in the world. Tutors in Udemy should take note from this lovely man.

  • @karthick9408
    @karthick9408 3 ปีที่แล้ว +6

    A good teacher doesn't need a whole day for any good concept simply this much time is enough
    Thank you sir 👍

  • @RavikanthTalakoti
    @RavikanthTalakoti 4 ปีที่แล้ว +2

    Nice videos Navin sir
    These are very helpful to me. Thank you a lot for your hard work.

  • @ParthTagalpallewar
    @ParthTagalpallewar 3 ปีที่แล้ว +1

    Sir your videos clearly shows you interest in learning new techs and the deep knowledge you have

  • @shubhamgohel007
    @shubhamgohel007 2 ปีที่แล้ว +5

    Navin sir :- God of Programming for me.....Helped me get through interview and many concept 😘

  • @yaweli2968
    @yaweli2968 2 ปีที่แล้ว

    This is how you teach. keep it basic/simple. Thanks, great job.

  • @RockIT1
    @RockIT1 4 ปีที่แล้ว +1

    *Best video in this topic*
    Thank You Sir

  • @neerajmythink
    @neerajmythink 3 ปีที่แล้ว

    Phenomenal explanation... This guy doesn't throw unhandled error.

  • @t11oaa8
    @t11oaa8 3 ปีที่แล้ว +2

    Can I like this a million times? Thank you Telusko!

  • @navinn.luthrianavinn.luthr9532
    @navinn.luthrianavinn.luthr9532 3 ปีที่แล้ว +2

    Hello Sir your way of teaching and the presentation is amazing 👍👍

  • @rahilahmed2192
    @rahilahmed2192 3 ปีที่แล้ว +1

    Great teaching style sir all doubts are clear👌👌👍👍👍👍🎂

  • @JahanzaibNiazi
    @JahanzaibNiazi 3 ปีที่แล้ว

    You have cleared that concept of try and catch in a best possible way. I was lot of confused in that exception topic but you have cleared the every thing. hats off to you sir. And your way of teaching is absolutely excellent.

  • @rudriacharya7344
    @rudriacharya7344 2 ปีที่แล้ว

    i was struglling with this topic from long time. u made it just like clear water. thank u

  • @devil_5678
    @devil_5678 5 ปีที่แล้ว +2

    I understand this topic only by ur video, thanks a lot

  • @s.abirami8394
    @s.abirami8394 2 ปีที่แล้ว

    Everytime I view your tutorials I just make sure make sure to click that big fat like button and I move to watch that video you're simply awesome it's just a crystal clear thankyou sir

  • @poojaupadhye340
    @poojaupadhye340 ปีที่แล้ว

    I m learning python 1st time from your Chanel .. it’s really helpful ..thank you sir

  • @tannusharmaxiib3637
    @tannusharmaxiib3637 5 ปีที่แล้ว +3

    Nice explanation sir.... Thank u so much🤗

  • @robo_tech
    @robo_tech 4 ปีที่แล้ว +1

    Navin Sir I am just a 15-year-old kid interested in programming. In school, we are taught JAVA language. I know the basics but still, you teach so well that in my 10th grade currently sitting at home during the lockdown I stay awake until 11:00 pm after completing the studies just because u teach with so many interesting real-life examples. So just love the way u teach. I have watched 63 videos in 8 days. I am really enjoying. Thank u!!!!!!!!

    • @robo_tech
      @robo_tech 4 ปีที่แล้ว

      @Aanshumaan Shrijai VII C Roll No. 37 Thats Good!! I was told one thing you know by one of my connections on LinkedIn just to motivate you here is the thing:
      Udit Rathod
      You should explore never stop exploring ... just keep in mind you have to be Dora the explorer because that's what I do.
      That's the man UDIT RATHOD who told me pretty inspiring things!! If possible connect with me on LinkedIn we can discuss a lot of things!! You can also get ideas from me we can exchange challenges lot more.

    • @robo_tech
      @robo_tech 4 ปีที่แล้ว

      @Aanshumaan Shrijai VII C Roll No. 37 Then how can we be in contact?

  • @irlapatiavinash5208
    @irlapatiavinash5208 ปีที่แล้ว

    sir ,you have versatility in the teaching and i am lucky to see this channel

  • @salimakhtar1716
    @salimakhtar1716 ปีที่แล้ว

    I love your teaching style, clear and and easy to understand

  • @mrcreations1033
    @mrcreations1033 3 ปีที่แล้ว

    Sir 🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻The way you are teaching 👌🏼👌🏼👌🏼👌🏼NAA buthoo na bavishyath🤝🤝🤝🤝✊✊

  • @Imran20091990
    @Imran20091990 2 ปีที่แล้ว

    It's always good practice to write specific exception which we aware. If we don't know what kind of error will occur then Parent Exception.. Taught by Naveen Automation Labs.. same theory by Naveen Reddy.. Both were awesome in teaching.. 👍👍👍

  • @adarshtiwari7395
    @adarshtiwari7395 4 ปีที่แล้ว +1

    This was so much effective for my learning. It helped a lot. Effortless teaching

  • @venkataraokola3868
    @venkataraokola3868 ปีที่แล้ว

    your explanation is great sir. understood the whole concept clearly
    thank you

  • @GaneshPrema
    @GaneshPrema 5 ปีที่แล้ว +1

    Very clear explanation Sir...Thanks a Lotttttttttttttttttttt Sir

  • @rezamostafid8810
    @rezamostafid8810 2 ปีที่แล้ว +1

    Hi Navin,
    you throw in a lot motivational points and give us a very clear picture of what exceptions are, why you might need them and you provide basic usage of the python 'try'-'except' construct. Very well done! Now I feel fully prepared to try out some examples myself ( which I have already ...) as well as explore the nitty gritty details in the python documentation for specific applications and problems. WELL EXPLAINED, WELL DONE and THANK YOU!!

  • @amalal-suhaimi9810
    @amalal-suhaimi9810 5 ปีที่แล้ว +1

    u r great .. i got ur explanation from a first time without repeat the video 😍 thank u so much ❤️

  • @ragasudha24
    @ragasudha24 3 ปีที่แล้ว

    Fridge example 👏🏻👏🏻 is very practical
    Thank you Sir!!

  • @ShyKaiju
    @ShyKaiju 4 ปีที่แล้ว +3

    thank you so much, i was able to figure out my hw because of this video

  • @avijitmazumder6314
    @avijitmazumder6314 3 ปีที่แล้ว

    Amazing Teaching skill. God bless you sir.

  • @prathibharejeev1926
    @prathibharejeev1926 ปีที่แล้ว

    Navin your videos are amazing.
    Navin, please specify else block as well. i.e, try block for checking any error, except block will handle the error, else block will execute if there is no error, and finally block will excecute regardless the result of try and except block.

  • @anshi6205
    @anshi6205 4 ปีที่แล้ว

    I learnt all python by you... thank you so much....very helpful videos for me...

  • @sairamgogu4081
    @sairamgogu4081 5 ปีที่แล้ว +1

    Tqq so much sir. You nailed it.i didn't understood this concept java but you made it clear in Python

  • @ramanak2213
    @ramanak2213 4 ปีที่แล้ว

    as you always mentioning about it, i will learn java after completion of this course, for sure.

  • @Praveen-qs4ch
    @Praveen-qs4ch 3 ปีที่แล้ว

    Thanks for giving free excellence course for all

  • @yog_charya
    @yog_charya 3 ปีที่แล้ว

    Perfect example of learning and enjoying things

  • @koollguyy
    @koollguyy 3 ปีที่แล้ว

    Great examples Naveen. The doctor and fridge comparisons really made it easy to understand!!

  • @amrutashinde5971
    @amrutashinde5971 3 ปีที่แล้ว

    YOU ARE AND YOUR TEACHING IS REALLY GREAT SIR

  • @ankitkumaryadav562
    @ankitkumaryadav562 3 ปีที่แล้ว

    Very nice and clear explanation. the main thing is it's a very short video as compare to other creater.

  • @rajnandani4789
    @rajnandani4789 3 ปีที่แล้ว

    I'm very grateful
    Thank you so much sir for great explanation ,

  • @indomusic791
    @indomusic791 3 ปีที่แล้ว

    Excellent explanation. You are an extraordinary teacher🙏

  • @lalimarangwani6219
    @lalimarangwani6219 4 ปีที่แล้ว

    Best video ever seen for exception handeling

  • @educationpurpose7280
    @educationpurpose7280 2 ปีที่แล้ว

    Dear sir!
    you deserve much.
    Thanks a lot

  • @anirbanc88
    @anirbanc88 2 ปีที่แล้ว

    the practical world understanding of software world you provide as in explaining finally snippet is awesome man, too too cool man

  • @manaspatil4316
    @manaspatil4316 3 ปีที่แล้ว

    Also ,always write general Exception block after writing Dividebyzero,ValueError block ,etc block
    Bcoz if by mistake you write it first no matter how much block you write after it, it will always print statement in general exception block .

  • @VIVEKKUMAR-cq8ef
    @VIVEKKUMAR-cq8ef 4 ปีที่แล้ว

    Sir ur teaching is really awesome.
    Thanku so much sir.

  • @surajkottayi2451
    @surajkottayi2451 4 ปีที่แล้ว

    Python is interesting when u r taught by the right person 👍. (Navin sir)

  • @jitendraraghuwanshi1365
    @jitendraraghuwanshi1365 5 ปีที่แล้ว +1

    Best video so far

  • @AdityaTumma_inducedfreak_
    @AdityaTumma_inducedfreak_ 4 ปีที่แล้ว

    Now I'm recollecting this topic which was taught in class and could make sense with more brevity and logic. Had I watched this earlier, I'd have scored more in exam.

  • @Perplexedsouvik
    @Perplexedsouvik 4 ปีที่แล้ว

    I am coming from a completely non CS background . That's why it's taking more time for me..but thanks to Navin sir that my concepts are getting cleared..

  • @febin6512
    @febin6512 ปีที่แล้ว +1

    Simply simplified my doubt

  • @thinkwith_shannu
    @thinkwith_shannu 5 ปีที่แล้ว

    Waah you taught it in very understandable way. Super sir

  • @SurajSuresh007
    @SurajSuresh007 5 ปีที่แล้ว +24

    what is the need of finally: if we can just print('resource closed") outside will that make sense?

    • @donha475
      @donha475 5 ปีที่แล้ว +3

      I thought the same but it does look tidier to the eye... as a logical block of code before embarking on some other idea... kind of like paragraphs in writing prose...

    • @aryanfalke5751
      @aryanfalke5751 5 ปีที่แล้ว +10

      If you do not have the finally clause and you get an error the file won't close. Finally ensures that regardless of the errors taking place in the program , it would perform the task mentioned.

    • @BerozgaarIAS
      @BerozgaarIAS 5 ปีที่แล้ว +2

      @@aryanfalke5751 i think that u had failed to understand the question correctly. he is asking that what is the need of finally, if we just simply put the 'resource closed' statement outside all the blocks of try and except.

    • @raodyc
      @raodyc 4 ปีที่แล้ว +8

      Let just say in your except block you mentioned only 1 type of error ( Value error) and when you run the code you divided any number with 0
      In that case the "resource close" statement not going to run
      Finally: ensure that every last block of code execute even if there are multiple errors

    • @RockIT1
      @RockIT1 4 ปีที่แล้ว +1

      *See if you write 'resource closed' outside then it will get printed only when there is not an error because the execution stops when there is an error previously*

  • @venkateshagraharapu1393
    @venkateshagraharapu1393 2 ปีที่แล้ว

    Very good explanation sir .thank you.

  • @anuragtiwary
    @anuragtiwary 5 ปีที่แล้ว +1

    Wow. A big thumbs up for this video. Made my day.
    Thank you.

  • @ahmedabassi3599
    @ahmedabassi3599 4 ปีที่แล้ว

    Best explanation I found so far. Thank you

  • @sunnithreddy6031
    @sunnithreddy6031 3 ปีที่แล้ว

    chala teluskunnam thank you. you're the best

  • @prashantsharma-mc6hh
    @prashantsharma-mc6hh 2 ปีที่แล้ว

    Thank you, I understood errors and exception. Great explanation!

  • @nockk6570
    @nockk6570 4 ปีที่แล้ว +3

    Thank you so much man! You just saved my weekend!

  • @gamestv4875
    @gamestv4875 4 ปีที่แล้ว

    I like the way you explain things.
    Nice video

  • @gulshankhanna5621
    @gulshankhanna5621 4 ปีที่แล้ว

    Best explanation that i have ever seen on youtube

  • @anonymous25ja
    @anonymous25ja 4 ปีที่แล้ว

    Best python teaching.. Love the way of teaching...🖤🖤

  • @rohankademani6406
    @rohankademani6406 5 ปีที่แล้ว

    I will never forget the example i have been watching your playlist best method to convey the concepts of oops

  • @erick5171
    @erick5171 2 ปีที่แล้ว

    very clear and concise, awesome.

  • @jfaguile
    @jfaguile 10 หลายเดือนก่อน

    Pretty clear explanation; thanks for sharing your knowledge.

  • @anuragr5850
    @anuragr5850 2 ปีที่แล้ว

    Great teaching style! hats off for simplifying this concept✌

  • @__mus__
    @__mus__ 10 หลายเดือนก่อน

    Your teaching is so awesome 🎉

  • @swapnilraj1375
    @swapnilraj1375 4 ปีที่แล้ว

    Hey I want to say - You are awesome best 14 min invested ever good tutorial for exception

  • @prashantsoroutw1753
    @prashantsoroutw1753 2 ปีที่แล้ว

    sir your teaching style is so good.

  • @butterflySpirit717
    @butterflySpirit717 4 ปีที่แล้ว

    Python is easy, you made it easier for me..Thanks

  • @RiaziMohandesi
    @RiaziMohandesi 6 ปีที่แล้ว

    Thank you dear Navin. Very helpful and easy to understand.

  • @okekolawolesunday7301
    @okekolawolesunday7301 2 ปีที่แล้ว

    thank you for this lesson, well digested

  • @dhananjaykansal8097
    @dhananjaykansal8097 6 ปีที่แล้ว

    Superb Explanation. Awesome sirji...mazza aa gaya

  • @shrutimakde3433
    @shrutimakde3433 4 ปีที่แล้ว

    So nicely you explain. Very helpful

  • @jaitiwari241
    @jaitiwari241 6 ปีที่แล้ว +1

    Thanks and appreciate you Sir for ur effort. I have the same question which Abhi asked. Will you upload videos on NumPy, pandas and other libraries. How much python knowledge we should require to get started with a job in python? Do we require knowledge of all libraries and framework like Django, pylons? To start a job in python what we skillset do we actually require in python. Please guide SIR..Thanks a lot

  • @manideepvemula3167
    @manideepvemula3167 5 ปีที่แล้ว +2

    Hey Telusko, got an incorrect output please check it:
    It is not asking for input in following case:
    a=5
    b=0
    try:
    print("Resource opened")
    print(a/b)
    k=int(input("Enter a number :"))
    print(K)
    except ZeroDivisionError as e:
    print("Hey, error and cause of error is :",e)
    except ValueError as e:
    print("Hey, Invalid Input :",e)

    except Exception as e:
    print("Hey Something went wrong :",e)

    finally:
    print("resource closed")
    output:
    Resource opened
    Hey, error and cause of error is : division by zero
    resource closed
    Question is here why it is not asking me to enter a number K ?

  • @jiyauddinahmad6708
    @jiyauddinahmad6708 3 ปีที่แล้ว

    Sir, you are the boss. I'm really a big fan. The way you teach is exceptional