[Tutor] Sorting a List

Corey Richardson kb1pkl at aim.com
Thu Jan 13 05:07:02 CET 2011


On 01/12/2011 09:42 PM, Luke Paireepinart wrote:
> Remember the sorted() method takes a key function, have this key
> function take in each filename and compare the numbers and you're all set!
> 
> -----------------------------
> Sent from a mobile device. Apologies for brevity and top-posting.
> -----------------------------
> 
> [snip]

Thanks everyone - I didn't get anything out of glob, but playing with
key and using a function that parsed the frame number out worked. Thanks
again,
~Corey



More information about the Tutor mailing list