examples/os/environment.py
from __future__ import print_function
import os

print(os.environ.get('HOME')) # /Users/gabor

for k in os.environ.keys():
    print("{:30} {}".format(k , os.environ[k]))