Skip to content

Line  #2

Description

@migueltech97

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions