I have been looking for days and was wondering if there is any way to read all the files in a directory in python without using a loop. The reason I ask is because when I go to write the files it goes through the loop again and overwrites all my information or doubles it when I only need to grab one file.