https://devpress.csdn.net/python/62fb95d97e6682346618f219.html

pip install python-dotenv

from dotenv.main import load_dotenv
import os

load_dotenv()

print(os.environ.keys())
print(os.environ.get("APP_NAME", "1"))
lang = os.environ['LANGUAGE']