Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

如何使用LDOCE6.py 文件? #88

Open
sgz886 opened this issue Apr 1, 2018 · 1 comment
Open

如何使用LDOCE6.py 文件? #88

sgz886 opened this issue Apr 1, 2018 · 1 comment

Comments

@sgz886
Copy link

sgz886 commented Apr 1, 2018

我将LDOCE6.py里的词典路径改为本地正确路径后,字典中并不出现“本地词典-LDOCE6”的项目。
请问是还有其他地方要配置、修改代码,还是我的mdx的文件的问题?
我的mdx文件是掌上百科论坛下载的英英词典,不是双解词典。
链接

#-*- coding:utf-8 -*-
import re

from aqt.utils import showInfo, showText
from .base import MdxService, export, register, with_styles

# path = u'/Users/yu/Documents/english study/mdx/LDOCE6双解/L6mp3.mdx'
path = u'C:\\文档\\mdx\\LDOCE6.mdx'

@register(u'本地词典-LDOCE6')
@wenping-zou
Copy link

要把path写在#前面那一行,如果还不行的话,试试用的ta的L6mp3.mdx和L6mp3.mdd
path = u'C:\文档\mdx\LDOCE6.mdx'

path = u'/Users/yu/Documents/english study/mdx/LDOCE6双解/L6mp3.mdx'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants