ocs: clarify what load_dotenv() does in README by cybercoded · Pull Request #575 · theskumar/python-dotenv

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@cybercoded

Copy link Copy Markdown

Contributor

This PR updates the README to explicitly describe what load_dotenv() does.

  • Makes it clear that load_dotenv() reads key-value pairs from a .env file and sets them in os.environ.
  • States that existing environment variables are not overridden unless override=True is passed.
  • Removes redundant wording for clarity.

This addresses the documentation gap highlighted in issue #571.

Fixes #571

@theskumar

Copy link Copy Markdown

Owner

Thank you! 💟

@theskumar theskumar merged commit 9f722ce into theskumar:main

Oct 14, 2025

7 checks passed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Improving the README

2 participants

@cybercoded @theskumar