Only 10% Programmers Know This in Python. #python #codes #programming

preview_player
Показать описание
In this video, we'll learn about this NameError in python.
Today we will learn how the variable which was defined before the try-except block is no longer accessible if the exception occurs.
#python #programming #coding
Рекомендации по теме
Комментарии
Автор

100% of developers who watched this actually wasted their time

mhdtahawi
Автор

Why would you use your variable for value error exception, in 99% of case people use e or err

SuperheroKaif
Автор

except ValueError as alpha_num makes literally zero sense

seiv-
Автор

This code is like when you're riding a bike and put a metal rod between the spokes of the front wheel yourself. You created a problem just to make a video about it.

dissuxx
Автор

How can you now know how aliasing works if you've actually used python for more than textbook examples?

andreaselfving
Автор

who the hell is using variable name as Exception ??

Manojkumar__
Автор

Idk why would the developer use alpha num there.
It is asking for a bug

asagiai
Автор

Just dont shadow your var with the same nam🙏🙏🙏🙏🙏🙏🙏

Luda_is_taken.Try_Ludoed
Автор

Bro where do you code? I mean which app/site?

adityasingha
Автор

this is the dumbest programming tip i've seen in a while

darkweaverlp
Автор

This was a complete waste of time. I've never even seen anyone use a variable name to catch an error. People usually assign an e since naming it doesn't do much for documentation when the error type is already specified.

justapugontheinternet