.env.python.local
Alex had a special notebook called . Inside this notebook, Alex wrote down all the important secrets and settings for the app:
suffix is a widely accepted signal that this file contains secrets (like API keys or DB passwords) that should stay on your machine. Visual Studio Code The Bad (Cons) Non-Standard: Most Python libraries (like python-dotenv pydantic-settings ) look for .env.python.local
Then, in your Python code, load the environment variables: Alex had a special notebook called
# .env.python.local.example DATABASE_URL=postgres://user:pass@localhost/db SECRET_KEY=replace-me DEBUG=True in your Python code