#! /usr/bin/python
# -*- coding: utf-8 -*-

import os

print os.environ['HOME']
print os.path.expandvars('$HOME')
print os.path.expanduser('~')