Python Notes and Examples

Environment Variables

import os
os.getenv('HOME')  # => '/home/john'