I'm not sure what the specific uses for splitpath are, as I've always used osutils.pathsplit().
However, I think they are all meant to be used only on relative paths, which should therefore not *have* a root.
I'm not sure what the specific uses for splitpath are, as I've always used osutils. pathsplit( ).
However, I think they are all meant to be used only on relative paths, which should therefore not *have* a root.