print_environment.py 158 Bytes Raw Blame History Permalink 1 2 3 4 5 6 from __future__ import print_function import os def execute(): for name in ['FOO', 'BAR']: print(name, '=', os.environ.get(name, '[undefined]'))