07 2020 档案

摘要:1、数据库 id name score 1 张** 722 王** 723 张*** 814 李**** 67... ... ...用两种方式查询student表中成绩为10~20名的学生 解决方法一: select name from student order by score desc lim 阅读全文
posted @ 2020-07-28 18:12 旅行没有终点 阅读(338) 评论(0) 推荐(0)
摘要:1. 导入模块 import pymysql 2. 创建数据库连接 # 创建于数据库的连接 db = pymysql.connect( host='localhost', user='root', password='123456', db='mybatis', port=3306, charset 阅读全文
posted @ 2020-07-24 18:45 旅行没有终点 阅读(219) 评论(0) 推荐(0)
摘要:一、os模块 1. 直接调用可执行文件 import os #直接调用可执行文件 os.startfile(r"notepad.exe") 2. 文件属性和当前目录下的文件列表 print(os.stat(".")) # 返回文件的所有属性 print(os.listdir(".")) # 返回pa 阅读全文
posted @ 2020-07-17 15:49 旅行没有终点 阅读(193) 评论(0) 推荐(0)
摘要:1. 需要调用第三方库xlrd #调用读Excel的第三方库xlrd from xlrd import open_workbook 2.获取Excel的文件路径 from config import getpathInfo#调用读Excel的第三方库xlrdfrom xlrd import open 阅读全文
posted @ 2020-07-17 14:56 旅行没有终点 阅读(957) 评论(0) 推荐(0)
摘要:1. 打开Charles,选择Help >SSL proxying >Install Charles Root Certificate on a Mobile Device or Remote Browser 2. 出现如下弹框 3. 在苹果手机端连接与电脑统一网段WiFi,手动添加手动代理 服务器 阅读全文
posted @ 2020-07-09 10:36 旅行没有终点 阅读(393) 评论(2) 推荐(0)