How do you read excel files with xlrd on Appengine

前端 未结 3 1314
旧时难觅i
旧时难觅i 2021-02-06 19:23

I am using xlrd in appengine. I use flask

I cant read the input file and it keeps on showing the same error message

the code is

def read_rows(inp         


        
3条回答
  •  执笔经年
    2021-02-06 19:54

    Judge from your traceback.

    File "/Users/fauzanerichemmerling/Desktop/GAEHxl/gae/lib/xlrd/init.py", line 941, in biff2_8_load
        f = open(filename, open_mode)
    

    You can try changing this line to :

    f = filename
    

提交回复
热议问题