If you want to get a list of the best matches for a certain word, use difflib.get_close_matches
. To get closer matches, increase the value of the argument cutoff
(default 0.6).
The image above shows an example of this method. Find all previous posts about Python string here.