You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,13 +36,13 @@ configurable via the environment:
36
36
```python
37
37
from dotenv import load_dotenv
38
38
39
-
load_dotenv() # take environment variables from .env.
39
+
load_dotenv() # take environment variables
40
40
41
41
# Code of your application, which uses environment variables (e.g. from `os.environ` or
42
42
# `os.getenv`) as if they came from the actual environment.
43
43
```
44
44
45
-
By default, `load_dotenv` doesn't override existing environment variables.
45
+
By default, `load_dotenv` doesn't override existing environment variables and looks for a `.env` file in same directory as python script or searches for it incrementally higher up.
46
46
47
47
To configure the development environment, add a `.env` in the root directory of your
0 commit comments