1
0
This repository has been archived on 2021-07-27. You can view files and clone it, but cannot push or open issues or pull requests.
Files
todo.txt_telegram/src/search.py
2018-09-16 12:37:35 +01:00

9 lines
210 B
Python

from fuzzywuzzy import process
choices = open('tmp').read().split('\n')
search_term = input('Search term: ')
for result, matchness in process.extract(search_term, choices):
print(str(matchness), result)