How do I read all files in a defferents folders in a main folder after storing them inside a directory so that I can perform some action on them?
I am able to open the files in the defferents folders in the main folder using os.listdir, but after that how do I read every file and then execute some code on them ?