URL of experiment: /
Description of the problem: How to import excel file on Pavlovia? Xlrd funtion is out of questions since I can’t import python libraries. Here is the code that I use in Builder:
import xlrd infile = "file_name.xlsx" workbook = xlrd.open_workbook(infile) sheet = workbook.sheet_by_index(0) for rowx in range (list_start, list_end): row = sheet.row_values(rowx) stim_list.append(row)
I know I have to replace “append” with “push”, but I cannot seem to find an alternative for importing the file. Thank you.