Hi, what I am trying to do is:
First. collecting response from key press,
if choice.keys == 'a': own_delay_time = float(left_delay[0:-1]) elif choice.keys == 'l': own_delay_time = float(right_delay[0:-1])
and store in the data in the generated excel file:
Second. In the generated excel, I found there is a column name "time_spent"
Third. then I want to add the “time_spent” after every trail, and check whether the sum of total “time_spent” is over 20, if so, then finish the whole trail.
My problem is how can I read data from the excel, and do the calculation? Thanks a lot!