Contents:
recursively split paths into components for n times assert os.path.split(path) == split(path)
n
recursively split paths into components until exhausted