10 2018 档案

摘要:http://blog.sina.com.cn/lxydjx 阅读全文
posted @ 2018-10-30 11:22 那一剑的風情 阅读(127) 评论(0) 推荐(0) 编辑
摘要:场景: 报错: 原因: json不能对np.int64或者np.float64等类型进行序列化,可以通过自定义serializer或者直接类型转换来解决。 解决方法: 显式的把 date 转换成 int 类型。 阅读全文
posted @ 2018-10-30 09:49 那一剑的風情 阅读(13225) 评论(0) 推荐(0) 编辑
摘要:一、创建Server 1.Dos 命令 python -m BaseHTTPServer [port] 默认端口是8000, 2.Python 脚本启动 #coding:utf-8 ''' Created on 2018��10��29�� @author: Administrator ''' fr 阅读全文
posted @ 2018-10-30 09:38 那一剑的風情 阅读(5041) 评论(0) 推荐(0) 编辑
摘要:char exchange(char c) { if (c = 'A') c = tolower(c); else if (c >= 'a' && c <= 'z') c = toupper(c); return c; } int main() { string strTmp = "short"; transform(str... 阅读全文
posted @ 2018-10-29 13:48 那一剑的風情 阅读(3412) 评论(0) 推荐(0) 编辑
摘要:#include #include #include #include using namespace std; void testMap(const vector &vTmp = vector(), const map &mapParam = map()) { cout << "test end" << endl; } int main() { testMap();... 阅读全文
posted @ 2018-10-29 10:54 那一剑的風情 阅读(1580) 评论(0) 推荐(0) 编辑
摘要:场景:导出数据至csv文件,股票代码(在数据库中是vchar类型)那一列前面的0丢失 解决方法: 对单元格或选区点右键,点单元格格式,在数字中点自定义,在自定义中填入6个零,然后把该csv文件保存成 xlsx文件。 效果: 阅读全文
posted @ 2018-10-24 09:56 那一剑的風情 阅读(4375) 评论(0) 推荐(0) 编辑
摘要:场景:CentOS 7 运行微信告警脚本报错 原因:requests库版本问题 解决方法: sudo pip install requests urllib3 pyOpenSSL --force --upgrade sudo pip install --upgrade --force-reinsta 阅读全文
posted @ 2018-10-22 17:33 那一剑的風情 阅读(4240) 评论(0) 推荐(1) 编辑

点击右上角即可分享
微信分享提示