python -dotenv 的運作方式也很簡單,預設就是引入 key-value 結構的.env 檔案,將設定寫入環境變數中,透過 os.getenv 取得環境變數中的值。 所以我們的.
確定! 回上一頁