Simple sort for lists?

R. Arens martian_bob at portalofevil.com
Wed Nov 20 18:17:24 EST 2002


Hi, I'm using os.path.walk to walk through directories and join
ordered files in the directories into one large file. Problem is,
os.path.walk doesn't process the files in order, due to the way
os.path.walk sends the filenames to the visit function. Does Python
provide a method to sort the list of filenames provided by
os.path.walk?



More information about the Python-list mailing list