python中main函数作用
def main():
# my code here
if __name__ == "__main__":
main()import sys
def main(argv):
# My code here
pass
if __name__ == "__main__":
main(sys.argv)def my_function()
# my code here
def my_function_two()
# my code here
# some code
# call function
# print(something)参考
Last updated