How To Fix The 10 Most Common Python Errors

Поділитися
Вставка
  • Опубліковано 9 лют 2025

КОМЕНТАРІ • 22

  • @castlecodersltd
    @castlecodersltd 2 роки тому +4

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

  • @williamsquires3070
    @williamsquires3070 2 роки тому +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  2 роки тому +4

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

  • @slippy2020
    @slippy2020 2 роки тому +2

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

  • @dlizard04
    @dlizard04 Рік тому

    Thank you. This was very helpful.

  • @cheftelma8241
    @cheftelma8241 2 роки тому

    Wow! You just made my life easier 👏🏽

  • @murphygreen8484
    @murphygreen8484 2 роки тому

    Great video!

  • @poneyardent.4684
    @poneyardent.4684 Рік тому

    Thanks so much !

  • @bright_hustleTV
    @bright_hustleTV Рік тому +1

    What python complier is this am a beginner in python coding

    • @ttrev007
      @ttrev007 Рік тому

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

    • @suraruth8528
      @suraruth8528 Рік тому

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

  • @xzex2609
    @xzex2609 Рік тому

    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

  • @pl_asma
    @pl_asma 2 роки тому

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

    • @Indently
      @Indently  2 роки тому +1

      PyCharm + NewUI

    • @pl_asma
      @pl_asma 2 роки тому

      @@Indently Thank you, appreciate it.

  • @SACHINKUMAR-px8kq
    @SACHINKUMAR-px8kq 2 роки тому

    Thanks Sir

  • @farzan8143
    @farzan8143 Рік тому

    Thank you

  • @topcivilian
    @topcivilian 2 роки тому

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

  • @ttrev007
    @ttrev007 Рік тому

    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.

  • @potatocookies3589
    @potatocookies3589 Рік тому

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

  • @shashwatmangulkar1107
    @shashwatmangulkar1107 2 роки тому

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