See Python Path Module Python Example