How to save python loop output to an excel file I have an excel file (input.xlsx) that contains two columns (id and url).