code: def dirpaths(self):
          
          parts = self.parts()
          result = [DotPath(parts[0] or '/')]
          for name in parts[1:]:
              result.append(result[-1] / name)
          return result
docs: Split the dirname into individual directory names
  
          An absolute path starts with an empty string, a relative path does not
  
          >>> p = DotPath(u'/path/to/x.py')
          >>> p.paths == p.dirpaths()
          True