diff --git a/app/Article.py b/app/Article.py index 774d25a..b73e5e2 100644 --- a/app/Article.py +++ b/app/Article.py @@ -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 diff --git a/app/Article.pyc b/app/Article.pyc new file mode 100644 index 0000000..09bd142 Binary files /dev/null and b/app/Article.pyc differ diff --git a/app/Login.py b/app/Login.py index 65047f7..9651339 100644 --- a/app/Login.py +++ b/app/Login.py @@ -1,3 +1,4 @@ +# -*- coding: UTF-8 -*- import hashlib from datetime import datetime from UseSqlite import InsertQuery, RecordQuery diff --git a/app/Login.pyc b/app/Login.pyc new file mode 100644 index 0000000..f245111 Binary files /dev/null and b/app/Login.pyc differ diff --git a/app/UseSqlite.pyc b/app/UseSqlite.pyc new file mode 100644 index 0000000..1fe9f67 Binary files /dev/null and b/app/UseSqlite.pyc differ diff --git a/app/WordFreq.pyc b/app/WordFreq.pyc new file mode 100644 index 0000000..edc768f Binary files /dev/null and b/app/WordFreq.pyc differ diff --git a/app/Yaml.py b/app/Yaml.py index 00974aa..7f6d992 100644 --- a/app/Yaml.py +++ b/app/Yaml.py @@ -1,3 +1,4 @@ +# -*- coding: UTF-8 -*- ''' Yaml.py 配置文件包括: diff --git a/app/Yaml.pyc b/app/Yaml.pyc new file mode 100644 index 0000000..9d104e8 Binary files /dev/null and b/app/Yaml.pyc differ diff --git a/app/difficulty.py b/app/difficulty.py index 50aa179..7d1b7bf 100644 --- a/app/difficulty.py +++ b/app/difficulty.py @@ -1,3 +1,4 @@ +# -*- coding: UTF-8 -*- ########################################################################### # Copyright 2019 (C) Hui Lan # Written permission must be obtained from the author for commercial uses. diff --git a/app/difficulty.pyc b/app/difficulty.pyc new file mode 100644 index 0000000..2caee6b Binary files /dev/null and b/app/difficulty.pyc differ diff --git a/app/pickle_idea.pyc b/app/pickle_idea.pyc new file mode 100644 index 0000000..7a17cf9 Binary files /dev/null and b/app/pickle_idea.pyc differ diff --git a/app/pickle_idea2.py b/app/pickle_idea2.py index 4055fc4..0da55bc 100644 --- a/app/pickle_idea2.py +++ b/app/pickle_idea2.py @@ -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() diff --git a/app/pickle_idea2.pyc b/app/pickle_idea2.pyc new file mode 100644 index 0000000..0db1de0 Binary files /dev/null and b/app/pickle_idea2.pyc differ diff --git a/app/wordfreqCMD.py b/app/wordfreqCMD.py index 9ee7e56..313fd6f 100644 --- a/app/wordfreqCMD.py +++ b/app/wordfreqCMD.py @@ -1,3 +1,4 @@ +# -*- coding: UTF-8 -*- ########################################################################### # Copyright 2019 (C) Hui Lan # Written permission must be obtained from the author for commercial uses. diff --git a/app/wordfreqCMD.pyc b/app/wordfreqCMD.pyc new file mode 100644 index 0000000..f9784fd Binary files /dev/null and b/app/wordfreqCMD.pyc differ