Code Editor : get-location-segments.py