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. 😟
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
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.
I think this video was well worth doing, thank you. It's a great quick reference
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. 😟
That's absolutely true, I've made that one many times.
thanks! i always get these errors and spend ages trying to fix them! first btw
Thank you. This was very helpful.
Wow! You just made my life easier 👏🏽
Great video!
Thanks so much !
What python complier is this am a beginner in python coding
python does not use a compiler. "For Python, it relies on the application interpreter"
It's a Interpreter........ Also compiler ........
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
What code editor are you using? I like it a lot!!
PyCharm + NewUI
@@Indently Thank you, appreciate it.
Thanks Sir
Thank you
excellent video, my friend
error handling helps with
Python garbage collection
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.
what about a TypeError: ‘ NoneType’ object is not subscriptable?
i want more detailed info abt the ValueError in python , Please............................