source: https://blog.csdn.net/qq_33867131/article/details/827547781、filter() 将满足条件的数据提取出来 取出id大于2 且 id不等于3 的图书 books = Book.objects.filter(id__gte=2). ...
分类:
其他好文 时间:
2020-05-15 13:24:41
阅读次数:
110
【docker概念作用术语】 【使用docker的步骤】 【docker安装及配置】 【环境要求】 docker要求centos7 必须要64位,内核3.1及以上 https://docs.docker.com/ 或者看这里:http://www.docker.org.cn/book/install ...
分类:
其他好文 时间:
2020-05-15 00:32:52
阅读次数:
64
[TOC] Django上传excel表格并将数据写入数据库: 上传文件: 解析excel 导入数据库: ...
分类:
数据库 时间:
2020-05-14 17:36:45
阅读次数:
79
"""处理Excel"""import xlrdfrom conf import settingsfrom utils.LogHandler import loggerclass ExcelOperate(object): def __init__(self, file_path, sheet_by ...
分类:
其他好文 时间:
2020-05-14 15:21:46
阅读次数:
77
The abstract provides a summary of the thesis and often contains the following moves in this order: 1. background to the thesis 2. purpose of the thes ...
分类:
其他好文 时间:
2020-05-14 12:46:10
阅读次数:
74
安装好Anaconda后,在anaconda promt命令行,或者Pycharm console中,输入以下命令 anaconda promt 原因是python3.7无法适配tensorflow,所以要安装python3.6虚拟环境。 然后用清华镜像,代替pip官网,快速下载你想要的包。 因为我 ...
分类:
其他好文 时间:
2020-05-12 20:27:17
阅读次数:
98
#!/usr/bin/env python# -*- coding:utf-8 -*-# Author: Hoganimport xlrdimport sqlite3def read_excel(fileName): # 打开文件excel workBook = xlrd.open_workbook ...
分类:
数据库 时间:
2020-05-12 11:27:14
阅读次数:
84
业务文件表单视图 上面的部分创建了一个基础表单视图,还可以做一些改进。对于文件模型, Odoo 有一个模拟纸张的展示样式,表单包含两个元素: 来包含操作按钮和来包含数据字段。可以修改上一部分的基础 定义为: <form string="Book"><header><!-- 此处添加按钮 --></h ...
分类:
其他好文 时间:
2020-05-11 11:43:26
阅读次数:
62
1、打开CMake,设置代码路径,生成路径。 设置OpenCV_DIR值 2、点击Configure 3、点击Generate 4、打开zxing.sln,选择INSTALL,生成。 ...
{{book.name}} {{book.name}} {{book.author}} {{book.bref}} 豆瓣评分 电子书 源代码 教学视频 声明 以上资源均搜集整理自网络,并仅供私下交流学习之用,版权依然由原属机构或个人所有,若无意中侵犯了您的权益,请来信指出我们会立即会做出处理。 ...
分类:
其他好文 时间:
2020-05-09 09:11:36
阅读次数:
133