import requests import json # 发送post请求 def post(url, headers, values): try: headers['Content-Type'] = "application/json; charset=utf-8" response = req ...
分类:
编程语言 时间:
2019-12-19 19:02:06
阅读次数:
135
INSERT INTO table ( "clo1", "col2", "col3", "col4", "col5" )VALUES ( 1, 10, NULL, '2019-12-19 13:38:35', '新年活动16张卡券'), ( 2, 11, NULL, '2019-12-19 15:0 ...
分类:
数据库 时间:
2019-12-19 16:25:08
阅读次数:
85
基于官方的release 构建了一个docker 镜像,以下是测试使用 环境准备 docker-compose 文件 version: "3" services: mypg: image: dalongrong/wal2json:1.0 ports: - "5432:5432" environmen ...
分类:
Web程序 时间:
2019-12-18 15:10:45
阅读次数:
156
1、json型数据分析 2、固定分隔符的数据分析 3、 ...
分类:
其他好文 时间:
2019-12-17 15:13:26
阅读次数:
95
pandas是 基于NumPy数组构建的,特别是基于数组的函数和不使用for循环的数据处理 相关联的几个库, 分析库 scikit-learn 和 statsmodels 数值计算工具,NumPy 可视化图库,matplotlib pandas是专门为处理表格和混杂数据设计的.专注于清理数据. 基础 ...
分类:
其他好文 时间:
2019-12-16 17:50:32
阅读次数:
115
连接数据库前,请先确认以下事项: 已经创建了数据库 ,表及用户名,密码 已经安装了 Python MySQLdb 模块。 数据库连接: import MySQLdb db = MySQLdb.connect("localhost", "testuser", "test123", "TESTDB", ...
分类:
数据库 时间:
2019-12-15 18:37:34
阅读次数:
102
一、 四种启动方式: 1、mysqld 启动mysql服务器: ./mysqld --defaults-file=/etc/my.cnf --user=root 客户端连接: mysql --defaults-file=/etc/my.cnf 或 mysql -S /tmp/mysql.sock 2 ...
分类:
数据库 时间:
2019-12-15 18:13:10
阅读次数:
100
Object.getPrototypeOf() Object.setPrototypeOf() Object.keys() // 对象自身可遍历属性 Object.values() // 对象自身可遍历属性 Object.entries() // 对象自身可遍历属性 Object.getOwnPro ...
分类:
其他好文 时间:
2019-12-14 21:13:17
阅读次数:
93
using DocumentFormat.OpenXml; using DocumentFormat.OpenXml.Packaging; using DocumentFormat.OpenXml.Spreadsheet; using System; using System.Collections ...
分类:
其他好文 时间:
2019-12-14 17:33:18
阅读次数:
114
1 创建entity实体类 public class Student { private Integer stuid; private String stuname; public Integer getStuid() { return stuid; } public void setStuid(I ...
分类:
编程语言 时间:
2019-12-14 11:48:10
阅读次数:
74