Home | History | Annotate | Download | only in python2.7

Lines Matching defs:split

28 __all__ = ["normcase","isabs","join","splitdrive","split","splitext",
84 # Split a path in head (everything up to the last '/') and tail (the
89 def split(p):
90 """Split a pathname. Returns tuple "(head, tail)" where "tail" is
99 # Split a path in root and extension.
108 # Split a pathname into a drive specification and the rest of the
112 """Split a pathname into drive and path. On Posix, drive is always
117 # Return the tail (basename) part of a path, same as split(path)[1].
125 # Return the head (dirname) part of a path, same as split(path)[0].
333 comps = path.split('/')
385 path, name = split(path)
422 start_list = [x for x in abspath(start).split(sep) if x]
423 path_list = [x for x in abspath(path).split(sep) if x]