Use ‘os.path.commonprefix’ to find the “relative directory” at the start of a path.
Use ‘os.path.commonprefix’ to find the “relative directory” at the start of a path.

--HG--
branch : use-os-path-module

larsbutler/coveragepy,nedbat/coveragepy,larsbutler/coveragepy,jayhetee/coveragepy,hugovk/coveragepy,7WebPages/coveragepy,blueyed/coveragepy,nedbat/coveragepy,hugovk/coveragepy,blueyed/coveragepy,jayhetee/coveragepy,blueyed/coveragepy,hugovk/coveragepy,jayhetee/coveragepy,blueyed/coveragepy,larsbutler/coveragepy,hugovk/coveragepy,jayhetee/coveragepy,7WebPages/coveragepy,nedbat/coveragepy,7WebPages/coveragepy,hugovk/coveragepy,blueyed/coveragepy,larsbutler/coveragepy,larsbutler/coveragepy,nedbat/coveragepy,jayhetee/coveragepy,7WebPages/coveragepy,nedbat/coveragepy