Python Get Path Directional Signs