use `os.path.expanduser('~')` (more generic), use `os.path.join` rather than hardcoding `/`