Browse Source

仅通过标题tag 分析全部数据

罗俊辉 1 year ago
parent
commit
d4ba68a23c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      result_analysis.py

+ 1 - 1
result_analysis.py

@@ -37,7 +37,7 @@ if __name__ == '__main__':
     for file in files:
         if file.endswith(".txt"):
             fp = os.path.join(path, file)
-            with open(path, encoding="utf-8") as f2:
+            with open(fp, encoding="utf-8") as f2:
                 data2 = f2.readlines()
             analysis(data2)