returns meaning, synonyms, antonyms for a word (scraping dictionary.com) limit the no of results also get meaning, synonyms and antonyms in different color
This module uses requests, bs4 and string-color modules and scraps dictionary.com
pip install Py-Dictionaryto update it
pip install Py-Dictionary --upgradefrom pydictionary import Dictionary dict = Dictionary("fix")meanings_list = dict.meanings() synonyms_list = dict.synonyms() antonyms_list = dict.antonyms()dict.print_meanings() dict.print_synonyms() dict.print_antonyms()This will print maximum 5 results with text having white color
If you want to increase or decrease maximum results do this
dict = Dictionary("fix",10)dict.print_meanings("red") dict.print_synonyms("green") dict.print_antonyms("blue")#To get more color look up string-color module or type string-color in your terminal