所以现在查询单词是这样的 Windows + R, 键入 cmd,回车,输入 wd + 想要查询的内容, 再回车
安装
# 需要先设置和连接自己的数据库
python setup.py install
用法
>>> wd -h
>> Usage: wd <words> [-h] [-a] [-l] [-c]
Optional arguments:
words Can be a word or a sentence and it supports inter-traslation of Chinese-English
-h show this help message and exit
-a associate relative words
-l show query logs
-c clear query logs
>>> wd where there is a will,there is a way
>> where there is a will,there is a way : 有志者事竟成,有一种方法
有志者事竟成
"Where there is a will,there is a way. "['世上无难事,只要肯攀登']
Where there is a will, there is a way .['有志者,事竟成。']