# -*- coding: utf-8 -*-
"""
Created on Thu Apr 06 00:02:42 2017
@author: Chung Ning
"""
import struct
idx_file = open('xhzd.idx', 'rb')
dict_file = open('xhzd.dict', 'rb')
# dict.dz 文件先使用 dictzip工具解压
dict_idx = dict()
while True:
word_str = ''
one_byte = idx_file.read(1)
if
使用Python分析并查询StarDict(星际译王)字典
最新推荐文章于 2024-11-05 23:31:57 发布