<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
I'd still advise using my_list.sort() rather than sorted(), as you<br>
don't need to retain the original.<br>
<br></blockquote><div><br><div class="gmail_extra">Hmm.<br><br></div><div class="gmail_extra">Trying to figure out what that looks like.<br></div>If I understand correctly, list.sort() returns None.<br>What would I return to the caller?<br> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
If you're going to call listdir, you probably want to use fnmatch directly.<br>
<br></blockquote></div><br></div><div class="gmail_extra">Got it.<br></div></div>