It can be done with a library pandas
step 1: install pandas
pip install pandas
step2: put all your files you want to merge into a folder . and get its path in my case path is "E:\test\\"
you should replace with yours
step 3:
run the below code to get your merged excel file
import glob
import pandas as pd
path=r"E:\test\\" #replace with your path
files = glob.glob(path+ "/*.xlsx") #getting all the file path
merged = pd.concat(map(pd.read_excel,files),axis=1) #reading and combining them into one file
merged.to_excel("merged.xlsx") #saving the result
step 4 (optional): customization,
There are several way you can merge those file, please refer pandas documentation.
for example axis=1
refers append by column, axis=0
refers append by row (while appending by rows you may need to set ignore_index=True
)