查询单个单词/词组意思
Project description
wordlistenquiry
各函数及用法
-
查询单个单词/词组的详细解释:
def search(word, choice=1): -
查询单词/词组列表,并生成[字典(dict)]:
def wordlist_todict(wordlist, choice=1): -
查询单词/词组列表,并生成[列表(list)]:
def wordlist_tolist(wordlist, choice=1, div=" : ", needword=True):-
div是输出的list里单词和意思之间的分隔符 比如:
route:n.路线,航线;道路,公路;(交通工具的)固定路线;巡访;途径,渠道;递送路线;用于美国干线公路号码前;v.按特定路线发送,为……规定路线; -
needword为False则表示return纯解释列表 比如:
needword = False:n.路线,航线;道路,公路;(交通工具的)固定路线;巡访;途径,渠道;递送路线;用于美国干线公路号码前;v.按特定路线发送,为……规定路线;needword = True:route : n.路线,航线;道路,公路;(交通工具的)固定路线;巡访;途径,渠道;递送路线;用于美国干线公路号码前;v.按特定路线发送,为……规定路线;
-
-
上述3个函数中,默认查询源为“有道[英]”
-
帮助:
def help():
各个查询源(使用choice选择)
- 英>> 1.有道 2.金山 3.bing 4.海词
- 日>> 5.有道
- 法>> 6.有道
- 德>> 7.德语助手
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file wordlistenquiry-1.0.1.tar.gz.
File metadata
- Download URL: wordlistenquiry-1.0.1.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c049c142c7ac243a98a962bae5577d099008970e2297d1a7a97e5c2e5dac35a8
|
|
| MD5 |
cb32e05e6a9f7cae2a99126117748919
|
|
| BLAKE2b-256 |
3a4f9eb05424766074979225692b5bfe4a68f3ebfd3ae7dc396b933a4bdfb55e
|
File details
Details for the file wordlistenquiry-1.0.1-py3-none-any.whl.
File metadata
- Download URL: wordlistenquiry-1.0.1-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
17119299d02398286e3afd081f6736d1c11a1a28f40de12d4b5645d6d2df8c2e
|
|
| MD5 |
4184b810693470de8e848a00a293c88e
|
|
| BLAKE2b-256 |
bb6471c351f1a04bf59ec7ccafe05a108de9b569daf15960680ca76ecbc4a655
|