diff --git a/merge_transactions.py b/merge_transactions.py index dd84c1b..c5141e6 100644 --- a/merge_transactions.py +++ b/merge_transactions.py @@ -1,5 +1,6 @@ import os import pandas as pd +import importlib import glob def merge_excel_files(input_dir): @@ -54,5 +55,6 @@ def merge_excel_files(input_dir): print("未找到任何包含 '交易流水' 工作表的 Excel 文件。") if __name__ == "__main__": - user_path = input("> ").strip() + # 硬编码输入路径为 d:\input + user_path = r"d:\input" merge_excel_files(user_path)