python-dotenv
Package — UtilityPython 3.8+Beginner
Load environment variables from .env files
Quick Info
- Documentation
- Official Docs
- Python Version
- 3.8+
- Dependencies
- None (pure Python)
- Install
pip install python-dotenv
Learn by Difficulty
Quick Example
python
# Install: pip install python-dotenv import dotenv # Basic python-dotenv usage print(f"Using python-dotenv") # See documentation for detailed examples
python-dotenv is a third-party package. Load environment variables from .env files. Install with: pip install python-dotenv
Try in PlaygroundTags
packageconfigenvironmentutilitysimple