fix: 将脚本中的输入路径硬编码为 d:\input
Co-authored-by: aider (ollama/gemma4:12b) <aider@aider.chat>
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user