Skip to content

Latest commit

 

History

History
17 lines (9 loc) · 471 Bytes

README.md

File metadata and controls

17 lines (9 loc) · 471 Bytes

search program in Python which works with synonyms

you can use this program to search in one file or in directory at once with single or multiple words.

##usage

for single file with one word

  • python search.py -f filename.txt word_to_search

for single file with multiple words

  • python search.py -f filename.txt word_to_search_1 word_to_search_2 word_2_search_3

for search in directory

  • python search.py -d directory_name word_to_search_1 word_to_search_2