Skip to content

KellyHwong/Cambridge-Dictionary-Tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cambridge-Dictionary-Tool

Cambridge-Dictionary-Tool: Chrome Extension & Python Command Line Tool

Chrome Extension

Choose the "chrome" folder when loading unpacked extension in the Chrome extension settings

PersonalDict

PersonalDict

Usage

python3 dict.py -f word-list-1.txt python3 dict.py -f word-list-toefl.txt

Log

单词列表txt文件输入,及去掉换行符

把单词列表写在txt文件里面,readlines的时候换行符会跟在每一行字符串后面,导致查不到单词。
解决:用字符串对象的strip方法即可

License

Apache License Version 2.0