Answers for "python os.getenv not working"

0

python os.getenv not working

# make sure you do this first
from dotenv import load_dotenv
load_dotenv()

# After that you should be able to do something like
os.getenv('ACCES_TOKEN')
Posted by: Guest on January-24-2022

Python Answers by Framework

Browse Popular Code Answers by Language