Jan-14-2021, 11:53 PM
I have a script that scrapes web data then puts it into an excel file and names it "Results". I'm looking to get the file name to show the current time and date. I'm very new to learning to code and I've had a good go at it myself but I cant work it out without getting errors. Any help would be greatly appreciated.
markets = main("10932509, 7129730, 35, 37, 117, 81, 59, 55, 9404054") #print(markets) df = pd.DataFrame(markets) df.to_excel('Results.xlsx')