Discuss / Python / if __name__ == '__main__'

if __name__ == '__main__'

Topic source

是不是和java int main()类似,就是函数主函数,只能再当前module运行?

蝎尾蛇嚴

#2 Created at ... [Delete] [Delete and Lock User]

对,差不多


  • 1

Reply