Top 10 Most Common ERRORS In Python (And How To FIX Them)

Sdílet
Vložit
  • čas přidán 13. 09. 2024

Komentáře • 17

  • @chasedunagan
    @chasedunagan Před 10 měsíci +2

    It's not technically an error, but one of the most common issues I encountered when I was first learning python was returning None when I thought I was returning something valid.

  • @Fireman9143
    @Fireman9143 Před 4 měsíci

    Thanks for your all these tutorials! Very well done

  • @memories70179
    @memories70179 Před 10 měsíci +1

    Why do we use -> in function definition, is it return data type?

    • @StYxXx
      @StYxXx Před 8 měsíci

      Yes, it's a hint for the return type

  • @Beauchant
    @Beauchant Před 10 měsíci +2

    Very good, thanks a lot.

  • @valcubeto
    @valcubeto Před 10 měsíci +4

    The KeyError description is so descriptive 😂

    • @Indently
      @Indently  Před 10 měsíci

      I’m a bit shocked they didn’t update that 😂

    • @Indently
      @Indently  Před 10 měsíci

      For the very least they could write: key not found

  • @Qwertyklavye469
    @Qwertyklavye469 Před 10 měsíci

    awesome and clear ; thanks a lot

  • @krzysiekkrzysiek9059
    @krzysiekkrzysiek9059 Před 10 měsíci

    Useful content. THX 👍

  • @miguelvasquez9849
    @miguelvasquez9849 Před 10 měsíci

    Can you create a video on how to perform logging with multiprocessing? please

  • @zachsteal1238
    @zachsteal1238 Před 10 měsíci +1

    i always use try except to fix my errors
    does anyone know what the finally block does in python

    • @kenzostaelens1688
      @kenzostaelens1688 Před 10 měsíci +2

      finally block runs regardless of if you ran except or not but still before returning or raising an exception
      eg
      try:
      return 1
      finally:
      print("this still runs even though you returned")
      useful for closing resources regardless of what happens

    • @zachsteal1238
      @zachsteal1238 Před 10 měsíci +1

      @@kenzostaelens1688
      Thanks
      Very much appreciated

  • @nbhhcghgfyg
    @nbhhcghgfyg Před 10 měsíci

    Sir macbook air M1 for app development is ok? Please help

  • @sriharshava1665
    @sriharshava1665 Před 10 měsíci

    Bro do a video on subprocess error