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
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
8:41:54
Python Tutorial for Beginners (with mini-projects)
YouTube
freeCodeCamp.org
875.7K views
Sep 19, 2023
Top videos
Python Basics: Introduction to Python (Learning Path) – Real Python
realpython.com
Aug 17, 2022
Python Modules - GeeksforGeeks
geeksforgeeks.org
1 month ago
5:07
What does if __name__ == '__main__' do in Python?
Microsoft News
Tech with Tim
1 month ago
Python Projects
3:00:29
12 Beginner Python Projects - Coding Course
YouTube
freeCodeCamp.org
4.7M views
Dec 9, 2020
9:20:00
9 HOURS of Python Projects - From Beginner to Advanced
YouTube
Tech With Tim
1.7M views
Jan 23, 2024
2:51:09
Learn Python With 5 Projects - From Beginner to Advanced
YouTube
Tech With Tim
131.3K views
11 months ago
Python Basics: Introduction to Python (Learning Path) – Real Pyt
…
Aug 17, 2022
realpython.com
Python Modules - GeeksforGeeks
1 month ago
geeksforgeeks.org
5:07
What does if __name__ == '__main__' do in Python?
1 month ago
Microsoft News
Tech with Tim
6:12
How to Open a Python File
187.8K views
Jul 31, 2024
wikiHow
Kevin Burnett
The Python Code Example Handbook – Simple Python Progra
…
May 4, 2022
freecodecamp.org
What does the Python 'if name equals main' construct do? | TheS
…
Nov 16, 2023
theserverside.com
How to Install Python on Windows | Built In
10 months ago
builtin.com
how to run python main py
200 views
Feb 4, 2024
YouTube
CodeFast
9:28
If __name__ == '__main__' for Python Beginners
22.4K views
Mar 6, 2023
YouTube
Indently
7:08
Understanding if __name__ == “__main__” in Python | Python Ma
…
43.7K views
Jun 24, 2020
YouTube
ProgrammingKnowledge
7:23
python: what is `__main__` / `__main__.py` ? (beginner - interm
…
4.6K views
Oct 11, 2021
YouTube
anthonywritescode
Python If name == main - Python Advanced Tutorial #13 [READ PIN
…
1.5K views
Oct 11, 2020
YouTube
ShawCode
4:38
#2 Python Tutorial for Beginners | Know, Create and Run Python File
…
27.9K views
Mar 31, 2022
YouTube
Automate with Rakesh
7:08
Calling a Function in Python
45.9K views
Oct 10, 2019
YouTube
Access 2 Learn
6:28
What is main function and how it works in python | #mainfunction |
…
139 views
Dec 3, 2023
YouTube
Intelligent AI
1:03:20
👩💻 Python for Beginners Tutorial
3.8M views
Mar 25, 2021
YouTube
Kevin Stratvert
7:37
Lec-1: What is Python? Introduction to Python 🐍 | Why Python | Where P
…
1M views
Sep 3, 2022
YouTube
Gate Smashers
Python Tutorial Part 1 - Python Main Function
36 views
10 months ago
YouTube
Code With TJ
10:34
Python Workshop - Installing Packages
151K views
Sep 15, 2020
YouTube
Core Electronics
6:54
Python Tutorial - Your First Program
73.7K views
Apr 24, 2018
YouTube
Gary Explains
6:14:06
Python Full Course for Beginners
45.1M views
Feb 18, 2019
YouTube
Programming with Mosh
5:39
How To Run Python In Command Prompt
407.5K views
Sep 7, 2020
YouTube
Computer Science (compsci112358)
2:11
Beginner Python Tutorial 84 - Arguments and Parameters
65.5K views
May 8, 2020
YouTube
Caleb Curry
21:48
Python Tutorial for Beginners 8: Functions
1.2M views
May 17, 2017
YouTube
Corey Schafer
11:17
Best Practices for Python Main Functions
187.2K views
Mar 12, 2020
YouTube
Real Python
5:41
Python if __name__ == '__main__' ❓
38.7K views
Feb 8, 2021
YouTube
Bro Code
6:21:12
The Complete Python Course For Beginners
958.9K views
May 8, 2020
YouTube
Tech With Tim
9:16
Python Tutorial for Beginners #19 - Getting Started in GitHub
49.6K views
Dec 23, 2020
YouTube
Code of the Future
4:25
14. if __name__ == "__main__" [Python 3 Programming Tutorials]
136.5K views
May 8, 2019
YouTube
codebasics
See more videos
More like this
Feedback