Hallo,

i have a list with the dirs/files from the current path.
When i use sort() to sort the list alphabetically the list
is still unsorted. How to use ?

dirs_files = os.listdir(os.getcwd())
print dirs_files
dirs_files.sort()
print dirs_files

Thank you.
_______________________________________________
Tutor maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/tutor

Reply via email to