How can I combine multiple files with different extensions (e.g., xlsx and csv) into one file csv or excel using Python?
For example, suppose I have the following files:
Folder_A/a1.csv Folder_B/b1.xlsx Folder_B/b2.xlsx
I want to combine these in row wise.
Here is my current working code but it is not the smart way to write each file name.