TIL: Loading .env files with uv run
Read OriginalThis article explains that you can use the 'uv run' command with the '--env-file' flag to load environment variables from .env files, eliminating the dependency on python-dotenv. It provides examples for running FastAPI applications and suggests using different files like .env.dev or .env.prod for various environments.
Comments
No comments yet
Be the first to share your thoughts!
Top of the Week
No top articles yet