Python小记--------------------- load_dotenv()用法

14 阅读1分钟

简单理解 load_dotenv()

它把.env文件里的配置读到内存里,让你的代码能访问这些配置

形象形容

image.png