> > I'd still advise using my_list.sort() rather than sorted(), as you > don't need to retain the original. > > Hmm.
Trying to figure out what that looks like. If I understand correctly, list.sort() returns None. What would I return to the caller? > If you're going to call listdir, you probably want to use fnmatch directly. > > Got it.
-- https://mail.python.org/mailman/listinfo/python-list