ignoring a part of returned tuples

Justin Ezequiel justin.mailinglists at gmail.com
Wed Jul 4 04:12:43 EDT 2007


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(...):




More information about the Python-list mailing list