소스 검색

分析代码

罗俊辉 1 년 전
부모
커밋
3e4f7dc8e7
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      p_data_process.py

+ 1 - 1
p_data_process.py

@@ -27,7 +27,7 @@ def generate_hour_data(s, e, flag):
         for obj in data:
             L.append(obj)
 
-    with open("{}_data/{}_{}_{}.json".format(flag, flag, s, e), "w", encoding="utf-8") as f:
+    with open("data/{}_data/{}_{}_{}.json".format(flag, flag, s, e), "w", encoding="utf-8") as f:
         f.write(json.dumps(L, ensure_ascii=False))