Skip to content

Environment Variables

An environment variable (also known as an env var) is a value that lives outside of your Python code, in the operating system, and can be read by your application and other programs.

Applications commonly use environment variables for configuration such as database URLs, credentials, and secret keys.

Learn More

Read the Environment Variables guide for a detailed, cross-platform explanation, including how to create and read environment variables and how the PATH environment variable works.