English
全部
搜索
图片
视频
地图
资讯
更多
购物
航班
旅游
笔记本
报告不当内容
请选择下列任一选项。
无关
低俗内容
成人
儿童性侵犯
时长
全部
短(小于 5 分钟)
中(5-20 分钟)
长(大于 20 分钟)
日期
全部
过去 24 小时
过去一周
过去一个月
去年
清晰度
全部
低于 360p
360p 或更高
480p 或更高
720p 或更高
1080p 或更高
源
全部
Dailymotion
Vimeo
Metacafe
Hulu
VEVO
Myspace
MTV
CBS
Fox
CNN
MSN
价格
全部
免费
付费
清除筛选条件
安全搜索:
中等
严格
中等(默认)
关闭
筛选器
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.
2021年9月27日
Python Programming
4:40:00
Python for Beginners – Full Course [Programming Tutorial]
YouTube
freeCodeCamp.org
已浏览 390.9万 次
2022年8月9日
2:02:21
Python Full Course for Beginners [2025]
YouTube
Programming with Mosh
已浏览 400.2万 次
9 个月之前
8:41:54
Python Tutorial for Beginners (with mini-projects)
YouTube
freeCodeCamp.org
已浏览 94.2万 次
2023年9月19日
热门视频
11:40
Python's Mysterious 'if __name__ == "__main__"' Explained
codefather.tech
2021年4月13日
What Does “If __name__ == ‘__main__’” Do in Python? | Built In
builtin.com
2024年10月24日
The Python Code Example Handbook – Simple Python Program Examples for Beginners
freecodecamp.org
2022年5月4日
Python Tutorial
4:26:52
Learn Python - Full Course for Beginners [Tutorial]
YouTube
freeCodeCamp.org
已浏览 4796万 次
2018年7月11日
8:38:56
Python Full Course for Beginners | Complete All-in-One Tutorial | 9 Hours
YouTube
Dave Gray
已浏览 97.3万 次
2023年7月25日
12:00:00
Python Full Course for free 🐍
YouTube
Bro Code
已浏览 702万 次
2024年8月20日
11:40
Python's Mysterious 'if __name__ == "__main__"' Explained
2021年4月13日
codefather.tech
What Does “If __name__ == ‘__main__’” Do in Python? | Built In
2024年10月24日
builtin.com
The Python Code Example Handbook – Simple Python Progra
…
2022年5月4日
freecodecamp.org
What does the Python 'if name equals main' construct do? | TheS
…
2023年11月16日
theserverside.com
3:27
If __name__ == '__main__' simply explained
1 个月前
YouTube
Zed III
1:44
Is it bad practice to call main from another function in Python?
1 个月前
YouTube
vlogize
2:09
How to Convert __name__ == "__main__" to def main() in Python
已浏览 3 次
1 个月前
YouTube
vlogize
1:34
What does if __name__ == '__main__' do in Python? #progra
…
已浏览 3245 次
9 个月之前
TikTok
tech_with_tim
9:28
If __name__ == '__main__' for Python Beginners
已浏览 2.4万 次
2023年3月6日
YouTube
Indently
7:08
Understanding if __name__ == “__main__” in Python | Python Ma
…
已浏览 4.4万 次
2020年6月24日
YouTube
ProgrammingKnowledge
If Name ,Main in Python | The Complete Python Course | Basic t
…
已浏览 299 次
2024年9月29日
YouTube
Code Commander
7:38
Python for Beginners - Conditional Statements 🐍
已浏览 1101 次
2023年8月22日
YouTube
Chimpu Code
2:11
What if __name__ == '__main__' does in Python | 2MinutesPy
已浏览 1.2万 次
2023年11月8日
YouTube
2MinutesPy
6:41
if __name__ == '__main__ ' | __main__ Usage in Python | What
…
已浏览 9516 次
2022年7月25日
YouTube
Code-yug
8:46
If __name__ == "__main__" for Python Developers
已浏览 43.3万 次
2022年11月27日
YouTube
Python Simplified
5:07
What does if __name__ == '__main__' do in Python?
已浏览 4.7万 次
9 个月之前
YouTube
Tech With Tim
5:44
#8: Python if __name__ == '__main__' | Python Best Practices
已浏览 1.3万 次
2021年4月21日
YouTube
Programiz
8:50
Python Quick Tip: The Difference Between "==" and "is" (Equality v
…
已浏览 12.5万 次
2019年8月6日
YouTube
Corey Schafer
1:03:06
100 Python MCQ | Python Basics & Looping | Video 01
已浏览 9.4万 次
2023年1月23日
YouTube
codeitup
5:42
#46 Python Tutorial for Beginners | Special Variable __name__
已浏览 48.5万 次
2018年8月12日
YouTube
Telusko
3:30
Python's if __name__ == "__main__" Explained
2023年9月18日
YouTube
Darcy DeClute
6:21
Intermediate Python Tutorial: How to Use the __init__.py File
已浏览 15.5万 次
2021年1月13日
YouTube
Eric O Meehan
4:28
【Python】if __name__ == "__main__": 是什么意思?
已浏览 2.6万 次
2021年11月28日
bilibili
Devils-Advocate
5:29
python神奇的if __name__=="__main__"
已浏览 4.1万 次
2021年6月7日
bilibili
大熊课堂
1:32
100秒学会Python中的 if __name__ == '__main__':
已浏览 13.1万 次
2022年10月9日
bilibili
学习编程王同学
1:39
Python中为什么要使用if __name__ == '__main__'?
已浏览 25.7万 次
2023年9月5日
bilibili
Python每日剂量
16:10
10. Functions [Python 3 Programming Tutorials]
已浏览 19.6万 次
2019年5月8日
YouTube
codebasics
8:43
Python Tutorial: if __name__ == '__main__'
已浏览 210.9万 次
2015年3月23日
YouTube
Corey Schafer
14:55
How To Use Functions In Python (Python Tutorial #3)
已浏览 247.2万 次
2018年1月9日
YouTube
CS Dojo
观看更多视频
更多类似内容
反馈