fix: 将脚本中的输入路径硬编码为 d:\input

Co-authored-by: aider (ollama/gemma4:12b) <aider@aider.chat>
This commit is contained in:
2026-06-08 06:50:10 +08:00
parent f13e3c66a5
commit d9c6f79a36
+3 -1
View File
@@ -1,5 +1,6 @@
import os import os
import pandas as pd import pandas as pd
import importlib
import glob import glob
def merge_excel_files(input_dir): def merge_excel_files(input_dir):
@@ -54,5 +55,6 @@ def merge_excel_files(input_dir):
print("未找到任何包含 '交易流水' 工作表的 Excel 文件。") print("未找到任何包含 '交易流水' 工作表的 Excel 文件。")
if __name__ == "__main__": if __name__ == "__main__":
user_path = input("> ").strip() # 硬编码输入路径为 d:\input
user_path = r"d:\input"
merge_excel_files(user_path) merge_excel_files(user_path)