I have two file paths, C:\users\path1 and C:\users\path2. Each path has the same 10 excel files, with the same names. For example, each path has the following files:
P1 P2 P3, etc.
however the data in the files is not the same. The files in path2 have multiple sheets of data and the files in path1 just have one sheet.
How can I set up a python loop to go through both paths, and based on matching filenames, add the sheet from path1 into the file in path2?
Currently, I don't have any code set up.