See Python Pathlib Path Function Definition Programming