refactor(merge_transactions.py): 移除用户输入提示并设置默认路径
This commit is contained in:
@@ -54,6 +54,6 @@ def merge_excel_files(input_dir):
|
|||||||
print("未找到任何包含 '交易流水' 工作表的 Excel 文件。")
|
print("未找到任何包含 '交易流水' 工作表的 Excel 文件。")
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
print("请输入包含 Excel 文件的目录路径:")
|
user_path = r"d:input"
|
||||||
user_path = input("> ").strip()
|
user_path = input("> ").strip()
|
||||||
merge_excel_files(user_path)
|
merge_excel_files(user_path)
|
||||||
|
|||||||
Reference in New Issue
Block a user