Laurent Claessens writes:

> > file_list = []
> > for root, _, filenames in os.walk(root_path):
> >       for filename in filenames:
> >           file_list.append(os.path.join(root, filename))
> 
> What does the notation "_" stands for ? Is it a sort of /dev/null ?

   >>> x, _, y = 1, "hukairs", 3
   >>> x, y
   (1, 3)
   >>> _
   'hukairs'
   >>> 
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to