All
Search
Images
Videos
Maps
News
More
Shopping
Flights
Travel
Notebook
Report an inappropriate content
Please select one of the options below.
Not Relevant
Offensive
Adult
Child Sexual Abuse
Length
All
Short (less than 5 minutes)
Medium (5-20 minutes)
Long (more than 20 minutes)
Date
All
Past 24 hours
Past week
Past month
Past year
Resolution
All
Lower than 360p
360p or higher
480p or higher
720p or higher
1080p or higher
Source
All
Dailymotion
Vimeo
Metacafe
Hulu
VEVO
Myspace
MTV
CBS
Fox
CNN
MSN
Price
All
Free
Paid
Clear filters
SafeSearch:
Moderate
Strict
Moderate (default)
Off
Filter
11:40
codefather.tech
Python's Mysterious 'if __name__ == "__main__"' Explained
While reading a Python program you might find the expression if __name__ == '__main__'. Let's find out why you should know it.
Apr 13, 2021
Related Products
Kids Python
How to Print Name in Python
Python Name Inspiration
#Python Programming
Python for Beginners – Full Course [Programming Tutorial]
YouTube
Aug 9, 2022
Python for Beginners - Learn Coding with Python in 1 Hour
YouTube
Sep 16, 2020
Top videos
Python: Display your details like name, age, address in three different lines - w3resource
w3resource.com
3 months ago
3:56
Python Error: Name Is Not Defined. Let's Fix It - Codefather
codefather.tech
Jul 2, 2020
What is __name__ in Python Explained with Example
dev.to
4 months ago
Python Tutorial
2:02:21
Python Full Course for Beginners [2025]
YouTube
Programming with Mosh
2.3M views
6 months ago
12:00:00
Python Full Course for free 🐍 (2024)
YouTube
Bro Code
5.6M views
Aug 20, 2024
1:00:01
Learn Python in 1 Hour – Complete Beginner Course (2025)
YouTube
Code Pilot
6.3K views
2 months ago
Python: Display your details like name, age, address in three differ
…
3 months ago
w3resource.com
3:56
Python Error: Name Is Not Defined. Let's Fix It - Codefather
Jul 2, 2020
codefather.tech
What is __name__ in Python Explained with Example
4 months ago
dev.to
Python NameError — What it is and how to fix it
6.8K views
Aug 19, 2024
YouTube
teclado
7:08
Understanding if __name__ == “__main__” in Python | Python Ma
…
43.7K views
Jun 24, 2020
YouTube
ProgrammingKnowledge
If Name ,Main in Python | The Complete Python Course | Basic t
…
260 views
11 months ago
YouTube
Code Commander
2:32
Write a Python Program to Print Your Name 10 Times
9.9K views
Aug 25, 2022
YouTube
Code With TJ
5:44
#8: Python if __name__ == '__main__' | Python Best Practices
12.8K views
Apr 21, 2021
YouTube
Programiz
How to fix Name Not Defined Error in Python
113.2K views
Jun 18, 2020
YouTube
Computer Science Tutorials
1:03:20
👩💻 Python for Beginners Tutorial
3.8M views
Mar 25, 2021
YouTube
Kevin Stratvert
0:57
Python Error Name is not defined - Why This Error?
8.1K views
Dec 4, 2020
YouTube
CodeFatherTech
5:42
#46 Python Tutorial for Beginners | Special Variable __name__
484.7K views
Aug 12, 2018
YouTube
Telusko
2:02
PRINT YOUR NAME IN PYTHON ! First program in python
47.8K views
Jan 14, 2020
YouTube
IT Computer Guruji
15:11
Python Tutorials - Namespace and Variable Scope
87.7K views
Jan 5, 2019
YouTube
Amulya's Academy
9:31
Python 3 Tutorial: Print Function and Strings
479.6K views
Jan 22, 2014
YouTube
sentdex
7:18
Python user input ⌨️
290.9K views
Dec 21, 2020
YouTube
Bro Code
15:24
Python OOP Tutorial 1: Classes and Instances
4.8M views
Jun 20, 2016
YouTube
Corey Schafer
11:01
#49 Python Tutorial for Beginners | Class and Object
895.4K views
Aug 16, 2018
YouTube
Telusko
6:01
Beginner Python Tutorial 12 - Variable Naming Rules
15.6K views
Apr 20, 2020
YouTube
Caleb Curry
3:18
The Rules of Naming Variables in Python
18.3K views
Apr 15, 2020
YouTube
Python Simplified
5:30
Namespace in Python | Python Tutorial For Beginners
28.5K views
Jun 7, 2019
YouTube
GangBoard
16:12
Python Tutorial: CSV Module - How to Read, Parse, and Write CSV Files
1.4M views
Aug 9, 2017
YouTube
Corey Schafer
8:15
How to Rename Columns in Pandas DataFrame? | GeeksforGeeks
18.1K views
May 12, 2021
YouTube
GeeksforGeeks
4:49
How to list file names and file folder path | Python Tutorial
112.5K views
Jun 5, 2018
YouTube
Jie Jenn
7:00
Generating Random Names in Python - How To Python Tutorial
9.9K views
Nov 22, 2019
YouTube
Coding Under Pressure
10:16
Namespaces in Python: Built-in, Global, Enclosing, and Local
23.5K views
Mar 4, 2021
YouTube
Real Python
3:33
Python Tutorial: How to Rename Files and Move Files with Python
60.5K views
Jul 1, 2013
YouTube
sentdex
11:59
#18 Python Tutorial for Beginners | User input in Python | Command L
…
1.5M views
Jul 10, 2018
YouTube
Telusko
3:08
NameError Pandas: How To Fix
11.1K views
Mar 25, 2021
YouTube
Greg Kamradt
See more videos
More like this
Feedback