I couldn't define it better in a one liner, so here it is in more detail (keep in mind, I'm relatively new to python and programming):
I'd like to iterate through the result of os.walk(path,topdown=True) (yields a 3-tuple), but i'd only like to use two of it's return values in my loop.
Is there a preferred way to do this in python? I'm currently using:
for root,_,files in os.walk(path,topdown=True):
but I read somwhere that using _ is discouraged in this kind of situation.
Thank you for your help in advance.