How to Read an Environment Variable in Python
Settings that change from one computer to the next, such as a port, a database address or an API key, belong in environment variables. Python reads them from os.environ, and os.environ.get returns None instead of failing when a variable isn't set.
