Searched refs:path_parts (Results 1 – 5 of 5) sorted by relevance
100 path_parts = path_info.split('/')101 path_parts[1:-1] = [p for p in path_parts[1:-1] if p and p != '.']102 name = path_parts[1]103 del path_parts[1]113 environ['PATH_INFO'] = '/'.join(path_parts)
62 path_parts = remove_dots_from_path( in path_difference() local67 path_it = path_parts.begin(), in path_difference()68 path_end = path_parts.end(); in path_difference()97 path_it != path_parts.begin()) { in path_difference()
96 def _path_join(*path_parts): argument98 if not path_parts:100 if len(path_parts) == 1:101 return path_parts[0]104 for new_root, tail in map(_os._path_splitroot, path_parts):126 def _path_join(*path_parts): argument129 for part in path_parts if part])1102 path_parts = []1106 path_parts.append(part)1108 for part in reversed(path_parts):
910 path_parts = path.split('/')912 for part in path_parts[:-1]:917 if path_parts:918 tail_part = path_parts.pop()
91 path_parts = ("Beginning", "End")92 original_dir = os.path.join(*path_parts)93 abs_dir, norm_dir = site.makepath(*path_parts)