3.3.撰寫獨立python程式

  • 1.定義main function

      def main():
    
      if __name__ == "__main__":
          main()
  • 2.設定搜尋路徑

    • Python Module Search Path

    • Import module from sub folder under root folder

Last updated