should os.walk return a list instead of a tuple?

2006-03-21 Thread Ministeyr
Hello, os.walk doc: http://www.python.org/doc/2.4/lib/os-file-dir.html#l2h-1625 When walking top to bottom, it allows you to choose the directories you want to visit dynamically by changing the second parameter of the tuple (a list of directories). However, since it is a tuple, you cannot use

should os.walk return a list instead of a tuple?

2006-03-21 Thread Ministeyr
Seems i forgot about the [:] notation. Thanks for the help. -- http://mail.python.org/mailman/listinfo/python-list