2020年11月25日
摘要: 1.安装文件下载Eralng otp_win64_22.1.exe下载rabbitmq rabbitmq-server-3.8.0.exe 2.安装顺序首先安装otp_win64_22.1.exe ,next step下一步就可以了。其次安装 rabbitmq-server-3.8.0.exe (注 阅读全文
posted @ 2020-11-25 08:51 oktokeep 阅读(132) 评论(0) 推荐(0)
  2020年11月21日
摘要: #"F:\\test.txt" ''' # 例1:字符串截取 str = '12345678' print str[0:1] # 例2:字符串替换 str = 'akakak' str = str.replace('k',' 8') # 将字符串里的k全部替换为8 # 例3:字符串查找 str = 阅读全文
posted @ 2020-11-21 23:01 oktokeep 阅读(619) 评论(0) 推荐(0)
  2020年11月20日
摘要: import pika import json # https://chuna2.787528.xyz/zhaohuaxishi/p/12107392.html # https://chuna2.787528.xyz/shenh/p/10497244.html credentials = pika.Plai 阅读全文
posted @ 2020-11-20 08:34 oktokeep 阅读(189) 评论(0) 推荐(0)
  2020年11月17日
摘要: import xlrd wb = xlrd.open_workbook("test.xlsx") sheet1 = wb.sheets()[1] # 通过索引顺序获取 #table = data.sheet_by_index(0) # 通过索引顺序获取 #table = data.sheet_by_ 阅读全文
posted @ 2020-11-17 08:54 oktokeep 阅读(94) 评论(0) 推荐(0)
摘要: import pymysql db= pymysql.connect(host="", user='', database="", password='') cursor = db.cursor(cursor=pymysql.cursors.DictCursor) cursor.execute("S 阅读全文
posted @ 2020-11-17 08:51 oktokeep 阅读(921) 评论(0) 推荐(0)
摘要: 1.安装pycharm flask 2.查看帮助 #import requests; from flask import Flask #help(requests) help(Flask) 3.demo from flask import Flask app = Flask(__name__) @a 阅读全文
posted @ 2020-11-17 08:46 oktokeep 阅读(245) 评论(0) 推荐(0)
  2020年10月23日
摘要: 1.支付表的 全表备份,修改is_se_x字段,未带条件,导致全表修改,恢复该字段,同时恢复update_time字段, 建议:先查询,后备份,再根据ID来修改。`update_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE 阅读全文
posted @ 2020-10-23 14:39 oktokeep 阅读(304) 评论(0) 推荐(0)
  2020年10月15日
摘要: 1.搜索日志方法,写入文件,按搜索的字符串上下各200行返回 grep -C 200 '刷新XXX错误' FileNameOrderInfo-2020-10-14-*.log >> 201014-4.txt 2. Binary file (standard input) matches cat te 阅读全文
posted @ 2020-10-15 13:43 oktokeep 阅读(158) 评论(14) 推荐(0)
  2020年9月17日
摘要: CREATE TABLE `t_user` ( `uId` INT(11) DEFAULT NULL, `uName` VARCHAR(20) DEFAULT NULL, `uPwd` VARCHAR(20) DEFAULT NULL, `amt` INT(11) DEFAULT NULL) ENG 阅读全文
posted @ 2020-09-17 08:10 oktokeep 阅读(1127) 评论(0) 推荐(0)
摘要: 查看项目的编译依赖,同时写入文件aa.txt F:\sts4\order-test>gradlew :order-test-api:dependencies --configuration compile >> aa.txt 查看全部的依赖,同时写入文件bb.txt F:\sts4\order-te 阅读全文
posted @ 2020-09-17 00:08 oktokeep 阅读(7822) 评论(6) 推荐(0)