Skip to content

使用方法

kajweb edited this page Aug 8, 2020 · 1 revision
filename = "CET4luan_1.json";

import json;

file = open( filename,'r',encoding='utf-8' );
for line in file.readlines():
    words = line.strip();
    word_json = json.loads( words );
    print( word_json["headWord"] );
    
file.close()
Clone this wiki locally