Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

dotenv python

# Install dotenv via:
pip3 install python-dotenv

# Load .env file using:
from dotenv import load_dotenv
load_dotenv()

# Use the variable with:
import os
os.getenv("ACCESS_KEY")
 
PREVIOUS NEXT
Tagged: #dotenv #python
ADD COMMENT
Topic
Name
4+1 =