All
Search
Images
Videos
Shorts
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
builtin.com
What Does “If __name__ == ‘__main__’” Do in Python? | Built In
__name__ is a special variable in Python. “If __name__== ‘__main__’” is a conditional statement that tells the Python interpreter under what conditions the main method executes.
Oct 24, 2024
Python Tutorial
Welcome To The Python Tutorial
python.land
Jan 31, 2025
1:33
Python Tutorial For Beginners
intellipaat.com
87.8K views
4 months ago
Python Basics: Introduction to Python (Learning Path) – Real Python
realpython.com
Aug 17, 2022
Top videos
11:40
Python's Mysterious 'if __name__ == "__main__"' Explained
codefather.tech
Apr 13, 2021
Python nameerror name is not defined Solution
careerkarma.com
Aug 1, 2020
3:56
Python Error: Name Is Not Defined. Let's Fix It - Codefather
codefather.tech
Jul 2, 2020
Python Projects
10 Beginner Python Projects to Boost Your Programming Skills [VIDEO]
coursera.org
251 views
5 months ago
10:00
15 Python Projects: From Beginner To Full-Stack - Comp Sci Central
compscicentral.com
Jun 26, 2020
How to Code 20 Beginner Python Projects
freecodecamp.org
Aug 29, 2022
11:40
Python's Mysterious 'if __name__ == "__main__"' Explained
Apr 13, 2021
codefather.tech
Python nameerror name is not defined Solution
Aug 1, 2020
careerkarma.com
3:56
Python Error: Name Is Not Defined. Let's Fix It - Codefather
Jul 2, 2020
codefather.tech
Different ways to create Pandas Dataframe - GeeksforGeeks
Nov 14, 2018
geeksforgeeks.org
7:47
Python tutorial: Variable Scopes & Namespaces - global/local/nonloc
…
27.9K views
Jul 8, 2021
YouTube
Sreekanth
9:33
Why Python Says __name__ == "__main__" | Explained with Real-
…
15 views
6 months ago
YouTube
Data Science Wallah
Add THIS To Your Python Scripts! if __name__ == "__main__"
201.6K views
Oct 26, 2022
YouTube
b001
Python Tutorials - Namespace and Variable Scope
88.8K views
Jan 5, 2019
YouTube
Amulya's Academy
Python if __name__ == '__main__' ❓
39.4K views
Feb 8, 2021
YouTube
Bro Code
4:38
Pythons 101 | National Geographic
1M views
Mar 20, 2018
YouTube
National Geographic
9:50
16. Class and Objects [Python 3 Programming Tutorials]
141.5K views
May 8, 2019
YouTube
codebasics
11:37
Python string slicing ✂️
75.5K views
Dec 21, 2020
YouTube
Bro Code
11:36
Classes and Objects with Python - Part 1 (Python Tutorial #9)
1.7M views
Mar 28, 2018
YouTube
CS Dojo
20:58
Python Pandas Tutorial 2: Dataframe Basics
956.9K views
Jan 28, 2017
YouTube
codebasics
14:55
How To Use Functions In Python (Python Tutorial #3)
2.5M views
Jan 9, 2018
YouTube
CS Dojo
24:38
Python Tutorial for Absolute Beginners #1 - What Are Variables?
9.4M views
Dec 26, 2017
YouTube
CS Dojo
3:43
2. Variables in python [Python 3 Programming Tutorials]
374.6K views
May 8, 2019
YouTube
codebasics
4:25
14. if __name__ == "__main__" [Python 3 Programming Tutorials]
147.4K views
May 8, 2019
YouTube
codebasics
3:18
The Rules of Naming Variables in Python
19.2K views
Apr 15, 2020
YouTube
Python Simplified
8:16
#12 Python Tutorial for Beginners | Number System Conversion in Pyt
…
1.2M views
Jul 7, 2018
YouTube
Telusko
7:00
Generating Random Names in Python - How To Python Tutorial
10K views
Nov 22, 2019
YouTube
Coding Under Pressure
30:34
Python Functions | Python Tutorial for Absolute Beginners #1
1.2M views
Nov 6, 2018
YouTube
Programming with Mosh
10:16
Namespaces in Python: Built-in, Global, Enclosing, and Local
24.5K views
Mar 4, 2021
YouTube
Real Python
18:07
Python program that has a class named Student that stores the stu
…
92.9K views
May 27, 2020
YouTube
Mahesh Huddar
22:08
How to Create List in Python | List Complete Tutorial for Beginners
144.7K views
Jun 29, 2021
YouTube
WsCube Tech
10:42
Python program to store and display the student name and marks of st
…
16.8K views
May 27, 2020
YouTube
Mahesh Huddar
4:02
The Story of Python, by Its Creator, Guido van Rossum
312K views
Feb 25, 2019
YouTube
Oracle Developers
8:40
Make a simple random name generator using python
8.7K views
May 6, 2021
YouTube
Jack media
7:32
You should put this in all your Python scripts | if __name__ == '_
…
1.4M views
Jul 24, 2021
YouTube
mCoding
See more videos
More like this
Feedback