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
pythonmorsels.com
Defining a main function in Python
How can you setup a main function in Python? And should you? Python doesn't know about main functions, but there's nothing stopping us from defining a function called main that we only call when running from the command-line.
Sep 27, 2021
Python for Beginners
4:17
Python for Beginners [1 of 44] Programming with Python
Microsoft
markdefalco
Nov 16, 2021
Welcome To The Python Tutorial
python.land
1 year ago
51:37
Google Python Class Day 1 Part 1
YouTube
Google for Developers
3.6M views
Mar 1, 2010
Top videos
Python Modules - GeeksforGeeks
geeksforgeeks.org
Apr 29, 2016
11:40
Python's Mysterious 'if __name__ == "__main__"' Explained
codefather.tech
Apr 13, 2021
11 Beginner Tips for Learning Python Programming – Real Python
realpython.com
Jan 1, 2009
Python Projects
How to Code 20 Beginner Python Projects
freecodecamp.org
Aug 29, 2022
Python Project for beginners #9| Coffee Machine Project | Python for Beginners #lec83
YouTube
Jenny's Lectures CS IT
45.7K views
Jul 16, 2023
Python Project for Data Analysis- Exploratory Data Analysis | Data Analyst Project
YouTube
Rishabh Mishra
978K views
Apr 8, 2023
Python Modules - GeeksforGeeks
Apr 29, 2016
geeksforgeeks.org
11:40
Python's Mysterious 'if __name__ == "__main__"' Explained
Apr 13, 2021
codefather.tech
11 Beginner Tips for Learning Python Programming – Real Python
Jan 1, 2009
realpython.com
Python Basics: Introduction to Python (Learning Path) – Real Pyt
…
Aug 17, 2022
realpython.com
Python YAML: How to Load, Read, and Write YAML • Python Land Tut
…
Mar 10, 2023
python.land
Python Function: The Basics Of Code Reuse • Python Land Tutorial
3 months ago
python.land
Python Read And Write File: With Examples • Python Land Tutorial
Jun 26, 2022
python.land
2:14
Python Basics: Functions and Loops (Overview) – Real Python
Aug 30, 2022
realpython.com
What Does “If __name__ == ‘__main__’” Do in Python? | Built In
Oct 24, 2024
builtin.com
What does the Python 'if name equals main' construct do? | TheS
…
Nov 16, 2023
theserverside.com
Your Python Coding Environment on Windows: Setup Guide – Real
…
Sep 3, 2012
realpython.com
6:12
How to Open a Python File
192K views
2 months ago
wikiHow
Kevin Burnett
The Python Code Example Handbook – Simple Python Progra
…
May 4, 2022
freecodecamp.org
5:43
How to Learn Python in 2026 | A Step-By-Step Guide
6 months ago
dataquest.io
Add THIS To Your Python Scripts! if __name__ == "__main__"
201.6K views
Oct 26, 2022
YouTube
b001
How To Use The main() Function In Python | Master Python Main Func
…
345 views
Nov 20, 2024
YouTube
Gautam Dewasi Official
Python if __name__ == '__main__' ❓
39.2K views
Feb 8, 2021
YouTube
Bro Code
6:54
Python Tutorial - Your First Program
75K views
Apr 24, 2018
YouTube
Gary Explains
11:13
#32 Python Tutorial for Beginners | Functions in Python
1.1M views
Jul 27, 2018
YouTube
Telusko
13:04
Introduction to Python IDLE | IDLE Installation and Configuration Tut
…
331.4K views
Aug 23, 2019
YouTube
edureka!
14:13
How To Write Your First Python Application
23.6K views
Aug 16, 2021
YouTube
Udacity
4:37
How to Run Python Code From the Command-Line
115.5K views
Jul 11, 2019
YouTube
Real Python
3:54
HOW TO USE Matplotlib in 4 MINUTES (2020 Python Tutorial)
166K views
Mar 5, 2020
YouTube
Kite
4:25
14. if __name__ == "__main__" [Python 3 Programming Tutorials]
144.1K views
May 8, 2019
YouTube
codebasics
9:16
Python Tutorial for Beginners #19 - Getting Started in GitHub
52.3K views
Dec 23, 2020
YouTube
Code of the Future
8:07
How to Run Python Programs ( .py files ) in Windows 10
219.2K views
Jan 20, 2021
YouTube
LearningLad
11:30
What Can You Do with Python? - The 3 Main Applications
3.7M views
Jun 22, 2018
YouTube
CS Dojo
16:02
Mastering Python - Everything You Need To Know To Become a Pyth
…
1.4M views
Aug 24, 2020
YouTube
Tech With Tim
14:49
#3 Python Tutorial for Beginners | Getting Started with Python
4.5M views
Jul 2, 2018
YouTube
Telusko
See more videos
More like this
Feedback