Skip to content
jasper-zanjani edited this page Aug 6, 2020 · 1 revision
pip install -U python-dotenv
dotenv.load_dotenv

Load a .env file placed in the current working directory.

load_dotenv()
value =  os.getenv('key')

Clone this wiki locally