Python from scratch. Why do you need if __name__ == "__main__". How it works?!

Опубликовано: 07 Октябрь 2024
на канале: ZProger [ IT ]
93,475
1.6k

What is if _name_ == "__main__" for?
How to use it and what is it?

📗 All links to useful materials are below 📗

In this video, we will look at the Python entry point,
which is very often used in various projects.
This knowledge also goes into the basics of the Python language.
We'll look at where _name_ is used and in what cases it can be used in your projects.

⭐ Free version of Kite: https://bit.ly/3cKz97C
⭐ PyQt5 Python Course: https://pyqt5.ru
⭐ Channel with useful material: https://t.me/codeblog8

📁 Github: https://github.com/Zproger
📁 Website scraping course: https://bit.ly/394VKtG
📁 Selenium Python Course: https://bit.ly/3p669ef
📁 Contact me: [email protected]
📁 Support channel: https://www.donationalerts.com/r/zproger