On Jul 4, 4:08 pm, noamtm <noa... at gmail.com> wrote: > What I wanted is: > for (dirpath, , filenames) in os.walk(...): > > But that doesn't work. for (dirpath, _, filenames) in os.walk(...):