select * from users into OUTFILE 'F:/Develop/MySQL57/Uploads/users.csv' CHARACTER SET utf8 FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"' ESCAPED ...
分类:
数据库 时间:
2019-10-27 12:23:07
阅读次数:
81
题目传送门:https://atcoder.jp/contests/abc136/tasks/abc136_f 题目大意:在平面上有$n$个点我们,定义一个点集的权值为平面上包含这个点集的最小矩形所包含的点个数(矩形的边与坐标轴平行),求所有非空点集的权值和,保证每个点的横纵坐标互不相同。 先考虑转 ...
分类:
其他好文 时间:
2019-08-04 22:35:59
阅读次数:
145
mysql> select emp_no,first_name,last_name,gender into outfile '/home/mycat/t1.txt' -> FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"' LINES TERMIN ...
分类:
其他好文 时间:
2019-05-30 14:43:50
阅读次数:
134
1、查询数据到CSV文件 select * from account into outfile '/root/account.csv' fields terminated by ',' enclosed by '"' lines terminated by '\r\n' 注意:可通过终端方式查询或者 ...
分类:
数据库 时间:
2019-05-22 20:53:09
阅读次数:
169
一:nonlocal关键字 nonlocal 用来声明外层的局部变量。 global 用来声明全局变量。 运行结果: inner:b 10 outer:b 20 a: 200 二:LEGB规则 Python在查找“名称”时,是按照LEGB规则查找的: Local-->Enclosed-->Globa ...
分类:
编程语言 时间:
2019-05-12 01:42:31
阅读次数:
152
在学习python语言中用json库解析网络数据时,我遇到了两个编译错误:`json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes:`和`json.decoder.JSONDecodeError:... ...
分类:
编程语言 时间:
2019-04-29 12:54:00
阅读次数:
498
- (void)stroke Draws a line along the receiver’s path using the current drawing properties. - (void)fill Paints the region enclosed by the receiver’s ...
分类:
其他好文 时间:
2019-01-30 18:32:16
阅读次数:
133
# 导入
```
load data infile 'c:/test.csv' into table test [character set utf8]
fields terminated by ',' optionally enclosed by '"' escaped by '"' lines ... ...
分类:
数据库 时间:
2019-01-04 00:26:03
阅读次数:
216
load data infile '/var/lib/mysql-files/ip_address.csv' into table ip_address fields terminated by ',' optionally enclosed by '"' escaped by '"' lines ...
分类:
数据库 时间:
2018-12-24 20:22:29
阅读次数:
203
UnicodeDecodeError: ‘gbk‘ codec can‘t decode byte 0xa8 in position 18: illegal multibyte sequence
json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 1 column 2 (char 1)
分类:
Web程序 时间:
2018-11-19 12:31:54
阅读次数:
376