I have one shapefile that contains two parallel lines in yellow in the picture. Both lines have the same feature (these lines were originally both sides of a fixed distance buffer around a line). I clipped that buffer to create two "borders" within a third polygon (one administrative unit). My goal is to split that shapefile into two shapefiles OR to give a different ID to each line so I can subsequently work with them. In a nutshell, these two lines represent boundaries, a northern boundary and a southern boundary.
These lines are not of the same length.
I am looking for a python command.