def file_path_tuple(file_path):
    path, file_name = os.path.split(file_path)
    base_name, ext = os.path.splitext(file_name)
    return FilePath(
        file_path,
        path,
        file_name,
        base_name,
        ext,
        no_ext=os.path.join(path, base_name)
    )
Create a namedtuple with: file_path, path, file_name, base_name, ext, no_ext.
dataset/ETHPy150Open FichteFoll/CSScheme/my_sublime_lib/path.py/file_path_tuple