Merge branch 'master' of https://gitea.hmac.kr/kimminsung/fletimageanalysis
# Conflicts: # merge_excel_files.py # requirements-cli.txt
This commit is contained in:
@@ -12,8 +12,10 @@ def merge_excel_files(input_directory, output_filename="merged_output.xlsx"):
|
||||
input_directory (str): The path to the directory containing the Excel files.
|
||||
output_filename (str): The name of the output merged Excel file.
|
||||
"""
|
||||
|
||||
excel_files = glob.glob(os.path.join(input_directory, "**/*.xlsx"), recursive=True)
|
||||
|
||||
|
||||
if not excel_files:
|
||||
print(f"No .xlsx files found in '{input_directory}'.")
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user