How To Fix The 10 Most Common Python Errors

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

Komentáře • 22

  • @williamsquires3070
    @williamsquires3070 Před rokem +10

    Another problem beginners make is naming their Python file the same as a module they’re trying to import in the same file. For example, if a beginner was watching a YT video about the Python ‘math‘ module, they might name their file, “math.py” (as they follow along) then - inside - they “import math” at the top. Oops, that’s not going to work. 😟

    • @Indently
      @Indently  Před rokem +4

      That's absolutely true, I've made that one many times.

  • @slippy2020
    @slippy2020 Před rokem +2

    thanks! i always get these errors and spend ages trying to fix them! first btw

  • @castlecodersltd
    @castlecodersltd Před rokem +4

    I think this video was well worth doing, thank you. It's a great quick reference

  • @dlizard04
    @dlizard04 Před 11 měsíci

    Thank you. This was very helpful.

  • @cheftelma8241
    @cheftelma8241 Před rokem

    Wow! You just made my life easier 👏🏽

  • @topcivilian
    @topcivilian Před rokem

    excellent video, my friend
    error handling helps with
    Python garbage collection

  • @murphygreen8484
    @murphygreen8484 Před rokem

    Great video!

  • @ttrev007
    @ttrev007 Před 7 měsíci

    it does not throw an error but it just does not work. I forgot to put the parenthesis at the end of a function. and similarly forgot to call the main() and could not understand why it did not work.

  • @xzex2609
    @xzex2609 Před rokem

    one annoying error is that, you can not indent your code with both spaces and tab(s) you must either use spaces or tab , if you mix them , you have to make them uniform. and you may not know that which one is less than the other , and that could be annoying

  • @poneyardent.4684
    @poneyardent.4684 Před rokem

    Thanks so much !

  • @bright_hustleTV
    @bright_hustleTV Před 8 měsíci +1

    What python complier is this am a beginner in python coding

    • @ttrev007
      @ttrev007 Před 7 měsíci

      python does not use a compiler. "For Python, it relies on the application interpreter"

    • @suraruth8528
      @suraruth8528 Před 6 měsíci

      It's a Interpreter........ Also compiler ........

  • @pl_asma
    @pl_asma Před rokem

    What code editor are you using? I like it a lot!!

    • @Indently
      @Indently  Před rokem +1

      PyCharm + NewUI

    • @pl_asma
      @pl_asma Před rokem

      @@Indently Thank you, appreciate it.

  • @potatocookies3589
    @potatocookies3589 Před rokem

    what about a TypeError: ‘ NoneType’ object is not subscriptable?

  • @shashwatmangulkar1107

    i want more detailed info abt the ValueError in python , Please............................

  • @farzan8143
    @farzan8143 Před rokem

    Thank you

  • @SACHINKUMAR-px8kq
    @SACHINKUMAR-px8kq Před rokem

    Thanks Sir