📜  如何在python代码示例中定义main

📅  最后修改于: 2022-03-11 14:45:48.152000             🧑  作者: Mango

代码示例4
if __name__ == "__main__":
    # execute only if run as a script
    main()