code: def get_path_name(self):
          
          complete_path = os.path.dirname(os.path.abspath(self.path))
          name = self.path.replace(complete_path + PATH_SEPARATOR, "")
          if name.endswith("/"):
              name = name[: -1]
  
          return complete_path, name
docs: Gets path and name of file
  
          :return: Name of path, name of file (or folder)