diff --git a/qa.py b/qa.py index 4704cb3..1b33461 100644 --- a/qa.py +++ b/qa.py @@ -6,7 +6,7 @@ Code adapted from Evan Chow's jazzml, https://github.com/evancchow/jazzml with express permission. ''' -from itertools import izip_longest +from itertools import zip_longest import random from music21 import * @@ -77,4 +77,4 @@ def clean_up_notes(curr_notes): removeIxs.append((ix + 1)) curr_notes = [i for ix, i in enumerate(curr_notes) if ix not in removeIxs] - return curr_notes \ No newline at end of file + return curr_notes