Python 中的 if __name__ == '__main__' 到底是什么鬼?

4.9万
4
2022-05-09 18:52:49
1536
102
1218
63
喜欢就三连,让我持续更新~
55.2万播放
简介
原来 print 可以这样用
01:34
Python 这样 print 才够骚啊!
01:01
python中的变量 local、global、nonlocal 这样用
01:16
Python 动态类型真好用
02:34
python 循环中的for、else、break、continue
00:57
Python 参数中的 *、/、*args、**kwds 都是啥?
01:10
一行代码搞定一个函数 lambda
00:45
python一行代码生成列表那些事
01:09
就这样快速了解Python中的可变类型和不可变类型
01:15
压缩一下,快速理解 Python 中的 zip 和 unzip*
00:31
为什么说尽量不要使用「from xxx import *」
01:17
Python 中的 if __name__ == '__main__' 到底是什么鬼?
01:30
在 Python 中为啥要创建 __init__.py,它到底有什么鸟用?
02:41
Python 代码这样写,想不让别人叫你大佬都难
06:34
Python 中各种下划线的骚操作:_、_xx、xx_、__xx、__xx__、_classname_
04:27
Python中各种@property、@xxx.setter、@classmethod、@staticmethod 都是些啥啊?
05:30
你在 Python 中常常写的 with..as.. 到底是个啥?
03:57
你在 Python 中常看到的 yield 到底是什么鬼?
04:10
pip 常用的各种骚操作是怎样的?
04:07
新手必看,Python独立环境隔离
01:46
客服
顶部
赛事库 课堂 2021拜年纪