摘要:
1. 8.0之前修改密码使用方法如下所示 mysql> use mysql; mysql> update user set password=password('新密码') where user='用户名'; 或者 mysql> update mysql.user set authenticatio 阅读全文
摘要:
yearr=2021 fa = open(r"{}.html".format(yearr), "r", encoding="utf-8") # 读取文件 fcontent = fa.read() # 把文件内容转化为字符串 print(str) origin_str = '<div id="tree 阅读全文
摘要:
1.连接 def connpsycopg(): conn = psycopg2.connect(database="postgres", user="postgres", password="123", host="127.0.0.1", port="5433") return conn 2. 使用 阅读全文
摘要:
import xlrd import trans from xlutils.copy import copy def readExcel(): rea = xlrd.open_workbook('union_group.xls', formatting_info=True) print(rea) s 阅读全文