def home_dir():
if os.name == '<STR_LIT>':<EOL><INDENT>from win32com.shell import shell, shellcon<EOL>return shell.SHGetFolderPath(<NUM_LIT:0>, shellcon.CSIDL_PERSONAL, <NUM_LIT:0>, <NUM_LIT:0>)<EOL><DEDENT>else:<EOL><INDENT>return os.path.expanduser('<STR_LIT>')<EOL><DEDENT>
Returns:

    str : Path to home directory (or ``Documents`` directory on Windows).