def home_directory() -> Path: """ Not Path.home() for compatibility with Python 3.4. """ return Path(path.expanduser('~'))