+ 2
Several lists in for header
I found this example on Stack Abuse: import os for root, dirs, files in os.walk("."): for filename in files: print(filename) How this works? How root, dirs and files are assigned simultaneously and what is looped?
0 Answers