load

load(source: str | Path | IO[bytes])

The <score-partwise> root of source, a path or a binary stream.

Raises

Name Type Description
MusicXmlError if the file is not XML, has no score in its container, or is not a partwise score (<score-timewise> is not read).