The program successfully sorts the file in the designated folder but it tries to find that exact same file to sort again and shows a FileNotFoundError because the file has already been moved to the folder.
i tried everything in my knowledge and the problem is still occurring…
i want it to sort the file and just go on the next file
This is the program
This is the error
New contributor
Ansh Yadav is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.