方法1: 建立config.py 檔案,將檔案作為Python 模組引入(本篇建議). Python 的 .py 檔案可以做為模組 ... 方法2: 用 configparser 模組,建立 config.ini 檔案(參考).
確定! 回上一頁