From 88ae4db64543486c4548c77a76803ac4e0736485 Mon Sep 17 00:00:00 2001 From: Harsh Gupta Date: Thu, 16 Mar 2017 00:56:25 +0530 Subject: [PATCH] Update qa.py izip changed to zip in python3 --- qa.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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