# The correct operator to extend a pathlib object is / from pathlib import Path dir_path = Path('directory') subdir_path = dir_path / "subdir_path"
env_path = Path(__file__).parent / ".env"