Aug-02-2020, 10:21 AM
I see the problem, replace the line
Do you understand these path manipulations?
filename = mca_file.format(mca)with
filename = os.path.join(mca_file, mca)Then use only the folder name when you call the function, forget about the mca_{:05}.
Do you understand these path manipulations?