How can I write the following code more briefly?
scores = []
for f in glob.glob(path):
score = read_score(f, Normalize = True)
scores.append(score)
I know this can be written in one or two lines without use append, but I'm new to Python.
Frank source
share