1
0
Fork 0

Bug359 修改位置pickle_idea2.py line71

bug359-zhangkeli
keli_Chuang 2022-06-05 22:00:43 +08:00
parent b9cf94da74
commit 40c86b2050
15 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,4 @@
# -*- coding: UTF-8 -*-
from WordFreq import WordFreq
from wordfreqCMD import youdao_link, sort_in_descending_order
from UseSqlite import InsertQuery, RecordQuery

BIN
app/Article.pyc Normal file

Binary file not shown.

View File

@ -1,3 +1,4 @@
# -*- coding: UTF-8 -*-
import hashlib
from datetime import datetime
from UseSqlite import InsertQuery, RecordQuery

BIN
app/Login.pyc Normal file

Binary file not shown.

BIN
app/UseSqlite.pyc Normal file

Binary file not shown.

BIN
app/WordFreq.pyc Normal file

Binary file not shown.

View File

@ -1,3 +1,4 @@
# -*- coding: UTF-8 -*-
'''
Yaml.py
配置文件包括:

BIN
app/Yaml.pyc Normal file

Binary file not shown.

View File

@ -1,3 +1,4 @@
# -*- coding: UTF-8 -*-
###########################################################################
# Copyright 2019 (C) Hui Lan <hui.lan@cantab.net>
# Written permission must be obtained from the author for commercial uses.

BIN
app/difficulty.pyc Normal file

Binary file not shown.

BIN
app/pickle_idea.pyc Normal file

Binary file not shown.

View File

@ -68,7 +68,7 @@ def save_frequency_to_pickle(d, pickle_fname):
d2 = {}
for k in d:
if not k in exclusion_lst and not k.isnumeric() and not len(k) < 2:
d2[k] = list(sorted(set(d[k])))
d2[k] = list(sorted(d[k])) # 原先这里是d2[k] = list(sorted(set(d[k])))
pickle.dump(d2, f)
f.close()

BIN
app/pickle_idea2.pyc Normal file

Binary file not shown.

View File

@ -1,3 +1,4 @@
# -*- coding: UTF-8 -*-
###########################################################################
# Copyright 2019 (C) Hui Lan <hui.lan@cantab.net>
# Written permission must be obtained from the author for commercial uses.

BIN
app/wordfreqCMD.pyc Normal file

Binary file not shown.