Ideally when running the script it displays Processing 1 of 10 1234567890.json... immediately as it starts processing the file and then appends OK or FAILED once complete. Right now the first part appears to wait till the second part is ready which means the entire line shows up only after it's finished.
I presume it's the comma after the first print command.
Ideally when running the script it displays
Processing 1 of 10 1234567890.json...
immediately as it starts processing the file and then appendsOK
orFAILED
once complete. Right now the first part appears to wait till the second part is ready which means the entire line shows up only after it's finished.I presume it's the comma after the first print command.