最新发布第10页
排序
Python-pymysql插入
import pymysql zwy = pymysql.connect(host='localhost', user='root', password='123456789', db='world') cursor = zwy.cursor() insert_many_sql = [('01', 'zwy', 'n'), ('02', 'yxj', 'n'...
Python-pymysql修改
import pymysql zwy = pymysql.connect(host='localhost', user='root', password='123456789', db='world') cursor = zwy.cursor() zwy.commit() update_sql = '''update student set sname = ...
Python-pymysql删除
import pymysql zwy = pymysql.connect(host='localhost', user='root', password='123456789', db='world') cursor = zwy.cursor() zwy.commit() delete_sql = 'delete from student where sna...
Python_模拟银行对接mysql_24.6.14
1.创建数据库和数据表 import pymysql CREATE_SCHEMA_SQL = 'CREATE SCHEMA bank' CREATE_TABLE_SQL = '''CREATE TABLE account( account_id varchar(20) not null, account_passwd char(6) not...
python_小作业_24.6.20
1.定义一个Box类,有width, height, depth三个属性,init()和get_Volume()(求体积)两个方法。其中init()方法用于获得初始化属性值,width, height, depth分别为5,6,7. (1)定义get_Volume()...
ENSP常用命令
一、华为设备命令视图 华为设备的常用命令视图 用户视图 <Huawei> 系统视图 <Huawei>system-view/sys [Huawei] 接口视图 <Huawei>system-view/sys [Huawei]interface/int Ethernet0/0/...
Linux_云计算专业实训II朱雄军试卷_个人解题步骤
给一台rhel8主机基于nat方式手工配置网络参数并用远程登录软件登录主机 # 修改网卡配置文件 [root@localhost ~]# vi /etc/sysconfig/network-scripts/ifcfg-ens160 # 在文件中添加或修改以下内...
一言API
请求方式 GET 请求地址 https://api.b52m.cn/api/yiyan/ 请求示例 https://api.b52m.cn/api/yiyan/ https://api.b52m.cn/api/yiyan/?type=js https://api.b52m.cn/api/yiyan/?type=json 返回格...
百度收录查询API
请求方式 GET 请求地址 https://api.b52m.cn/api/BaiduSL/ 请求示例 https://api.b52m.cn/api/BaiduSL/?domain=b52m.cn 返回格式 json 请求参数 参数是否必须备注domain是要查询的域名 返回参数...
Bing每日图片API
请求方式 GET 请求地址 https://api.b52m.cn/api/Bing/ 请求示例 https://api.b52m.cn/api/Bing/ https://api.b52m.cn/api/Bing/?type=json https://api.b52m.cn/api/Bing/?rand=true https://a...