This video shows you what _name_ == "__main__" is and why it's useful.
🐍 Video Materials 🐍
__name__: https://docs.python.org/3/library/__main__.html
upper(): https://docs.python.org/3/library/stdtypes.html#str.upper
Source Code: https://github.com/bodanLabs/__name__
🌐 Social Media & Contact 🌐
📱 Website: https://bodanlabs.com/
📷 Instagram: in progress
🐦 Twitter: https://twitter.com/bodanLabs
📁 GitHub: https://github.com/bodanLabs
🎙 Discord: in progress
🎬 TikTok: https://www.tiktok.com/@bodanlabs
⭐️ Chapters ⭐️
0:00 Introduction
0:10 Writing the function
1:51 Importing example module
3:17 Using __name__ variable
6:10 Outro
⭐️ Tags ⭐️
- ___name___
- name function
- ___name___ == '__main__'
- python learning
- python tutorials
- special variable __name__
- python modules
- main function
⭐️ Hashtags ⭐️
#python #main #name #pythonprogramming #pythontutorial #python3 #__name__ #__main__ #coding #programming #pythonprogramming