mscxyz.list_path

mscxyz.list_path(src: PathLike[str] | str | Path | list[PathLike[str] | str | Path], extension: Literal['mscz', 'mscx', 'both'] = 'both', glob: str | None = None) Generator[Path, None, None][source]

List all scores in path.

Parameters:
  • src – A directory to search for files or a file path or multiple directories or paths.

  • extension – Possible values: “both”, “mscz” or “mscx”.

  • glob – A glob string, see fnmatch