See Python Pathlib Tutorial