關於Python的主(main)函數的原理

主函數調用函數的小程序:python 1 import sys 2 def Fuc(): 3 print 'hello' 4 5 if __name__ == '__main__': 6 if len(sys.argv) != 3: 7 print 'Usage: python input_name output_name' 8
相關文章
相關標籤/搜索