Welcome To Snipplr


Everyone's Recent Python Snippets Tagged sort



« Prev 1 Next »
Dictionaries cant be sorted, so you need to transform it into a list and sort that one!
0 464 posted 13 years ago by magicrebirth
This function takes a list of string and sorts them based on their similarity. The percent at which they match can be defined in the second parameter (default 75%).
0 793 posted 14 years ago by gdvickery
« Prev 1 Next »