get the directory name of `path`,os.path.dirname(path)