阅读背景:

如何在python中检查上传的文件是csv还是xls ?

来源:互联网 

How to check is upload file is CSV or XLS . How to check it in python. I'm importing a file to a binary field in openerp which can be retrived as a binary object. I need to read the file and import the data to a table. User can upload csv or xls file. By knowing only I can use the csv package or xlrd package. . How




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: