AVOID Using THIS In Production Code In Python

preview_player
Показать описание
Avoid using this in production code in Python. #Python #LearnPython #Shorts
Рекомендации по теме
Комментарии
Автор

I didn't know there was exit without sys library.

kentakeshi
Автор

Thank you sir! I need some more videos about sys library and how to use it professionally

marlenkaparov
Автор

You are an encyclopedia of Python man!

saidbakr
Автор

If exit doesn't guarantee exiting the program, what would be the purpose of it?
like why doesn't it just call sys.exit?

sepdronseptadron
Автор

I cannot see the Output because of youtube's text overlays..

TheFreeSpiritKID
Автор

I actually didn’t know this, unlike almost everything you show in your shorts.

JordanMetroidManiac
Автор

If you’re capturing the start and end of a function, use a

ryansherby
Автор

The way you say "here" is the same as lilly's sister in hp

aggi
Автор

It sucks that for Python and C++, you need to import all kinds of things that do basic things.

NaudVanDalen
Автор

Because python could not be bothered making one coherent function that works cross platform, they had to make two that do exactly the same thing but may not work everyhwere so you gotta include another lib to do something as simple as terminate your python program.

What a well designed language!

managMent_
Автор

how about run a loop a single time then break

dabbingboy
Автор

os._exit() if exit() is not enought to exit.

sharkinahat
Автор

People write production code in this language?

alext
Автор

I don't know why anyone would use python in a production environment

FabioGamingFG