get_measure

scoretools.get_measure(expr, measure_number)

Gets measure measure_number in expr.

>>> staff = Staff("abj: | 2/8 c'8 d'8 || 2/8 e'8 f'8 || 2/8 g'8 a'8 |")
>>> show(staff) 
>>> scoretools.get_measure(staff, 3)
Measure((2, 8), "g'8 a'8")

Note that measures number from 1.