django项目中实现excel表数据导入

依赖模块: xlrd模块安装:pip install xlrd 安装好xlrd模块以后基本的准备工做就已经完成。前端 实现: views.py:python def import_excel(self, request): """导入excel表数据""" excel_file = request.FILES.get('excel_file', '') # 获取前
相关文章
相关标签/搜索