Aug-07-2018, 10:04 AM
Yes I did, I don't understand this part (I should have told, sorry) :
for line in in_file: if block and line.strip() == '/##/': do_comparison(block=block) block = [] block.append(line) # eventually use line.strip() to remove trailing new line \n do_comparison(block) # that is for the last block