.env.python.local

: In Linux and macOS, the ~/.local directory is used to store user-specific data for various applications. In the context of Python, it might be used to store local packages or data.

: It separates sensitive data like API keys, database passwords, or environment-specific URLs from your actual code. .env.python.local

STRIPE_API_KEY=pk_test_51ABCD... (test key) SENDGRID_API_KEY=SG.dev-key-789 : In Linux and macOS, the ~/

# settings.py import environ