3 ms·You could write it in one line of Python or so, using os.path.relpathby jquast 8y agoYou could write it in one line of Python or so, using os.path.relpath