TA的每日心情 | 开心 2019-8-21 08:44 |
---|
签到天数: 163 天 [LV.7]常住居民III
状元
  
- 积分
- 14980
|
有python环境的话,试试 readmdict包
安装
使用
- from readmdict import MDX
- filename = "some.mdx"
- headwords = [*MDX(filename)]
- print(headwods[:10]) # fisrt 10 in bytes format
- for hdw in headwods[:10]:
- print(hdw.decode()) # fisrt 10 in string format
复制代码 |
评分
-
1
查看全部评分
-
|