Answer the question
In order to leave comments, you need to log in
Why is dotenv needed?
Good afternoon, I decided to understand the topic of storing settings, the choice fell on storage in the .env file. I found such a dotenv library, read the description of the github of this library and looked at examples there, and I didn’t understand at all what it was for, if you can simply call it:
import os
os.getenv('Name', 'Not found name')
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question