I am getting this error. I have the folder and file in the correct directory, So I am not sure what its giving me the list index being out of range. Can someone help? Thanks!
Terminal output:
> 77 print('end of interval '+ str(interval))
> 78 # after the run, checks last search history record, and appends this run results to it, saving a new file
> ---> 79 last_search = glob('C/Users/670240890/Documents/search_history/*.xlsx')[-1] # path to file in the folder
> 80 search_hist = pd.read_excel(last_search)
> 81 final_df = search_hist.append(tracker_log, sort=False)
>
> IndexError: list index out of range
I am getting this error. I have the folder and file in the correct directory, So I am not sure what its giving me the list index being out of range. Can someone help? Thanks!
Terminal output: