I'm trying to os.walk()
through 5 folders containing mp3 files. I want to display the timestamps of each folder and file as well as their sizes and of course names.
With
for x in os.walk(os.getcwd()):
print(x)
I am able to get the folder and filenames, but don't know how to iterate through them as each folder is one tuple. I want to assign each tuple to a different variable to access them better, but I don't know how to do that while in a for loop.
Any ideas how to do that? Or how to accomplish what I'm trying to do in a better way? Thanks!