pylhe.read_num_events

pylhe.read_num_events(filepath: str | bytes | PathLike[str] | PathLike[bytes]) int[source]

Moderately efficient way to get the number of events stored in a file.