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

Lines Matching defs:split

16 __all__ = ["normcase","isabs","join","splitdrive","split","splitext",
111 # but b is empty; since, e.g., split('a/') produces
119 # Split a path in a drive specification (a drive letter followed by a
123 """Split a pathname into drive and path specifiers. Returns a 2-tuple
132 """Split a pathname into UNC mount point and relative path specifiers.
159 # Split a path in head (everything up to the last '/') and tail (the
164 def split(p):
165 """Split a pathname.
184 # Split a path in root and extension.
198 return split(p)[1]
205 return split(p)[0]
429 comps = path.split("\\")
492 return is_unc, prefix, [x for x in rest.split(sep) if x]