![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
笔记
啊这怎么会这样
非原创。
展开
-
刷题总结(数组)
刷一些数组题的总结原创 2022-08-31 21:50:03 · 108 阅读 · 0 评论 -
汇编:根据段大小计算偏移地址
比如,代码段的大小为32KB,求偏移地址。原创 2022-03-04 08:41:23 · 918 阅读 · 1 评论 -
Python学习:演练分组函数和聚合函数的组合使用
代码如下:create database jing_dong charset=utf8;use jing_dong;create table goods( id int unsigned primary key auto_increment not null, name varchar(150) not null, cate_name varchar(40) not null, brand_name varchar(40) not null, pric原创 2021-11-15 19:22:11 · 588 阅读 · 0 评论 -
mysql学习:复杂查询
首先用以下语句创建表或加入数据:create table students(id int(4) ,name varchar(20),birth date,primary key(id));insert into students values(5,'e','1999-07-26');create table borrows(wid int(4) ,bid int(4));insert into borrows values(1,1);create table books(id int(4) a原创 2021-10-27 20:09:55 · 120 阅读 · 0 评论 -
Python学习:web服务器
1.返回固定页面数据:import socketif __name__ == '__main__': # 创建TCP服务端套接字 tcp_server_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM) tcp_server_socket.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, True) tcp_server_socket.bind((""原创 2021-10-26 19:52:43 · 123 阅读 · 0 评论 -
pycharm报错The “freeze_support()“ line can be omitted if the program is not going to be frozen
在写python代码时,如果涉及进程线程,也就是使用multiprocessing进程包,或者使用threading模块包时,注意加入如下代码:if __name__ == '__main__': # 这句代码,把真正要执行的代码放在下面 sing_process = multiprocessing.Process(target=sing) # 子进程 sing_process.start() # 启动子进程这是由于Windows系统中的无限拷贝执行问题,加入这句代码就可以原创 2021-10-21 16:15:38 · 629 阅读 · 0 评论 -
Python学习:面向对象版学员管理系统
面向对象版学员管理系统项目根目录为:StudentManagerSystemstudent.py代码为:# 学员类class Student(object): def __init__(self, name, gender, tel): self.name = name self.gender = gender self.tel = tel def __str__(self): return f'{self.name}原创 2021-10-14 16:15:16 · 633 阅读 · 0 评论 -
Python学习:学员管理系统
代码如下:def info_print(): print("请选择功能----------------") print("1,添加成员") print("2,删除成员") print("3,修改成员") print("4,查询成员") print("5,显示所有成员") print("6,退出系统") print("-" * 24)info = []def add_info(): # 添加 """添加学员信息"""原创 2021-09-28 18:27:29 · 103 阅读 · 0 评论 -
mysql执行脚本文件时总是显示failed to open file
mysql执行脚本文件时总是显示failed to open file这个问题把我折磨得心力交瘁,我试过了包括到不限于以下的语句:source D:/mysql8/test.sqlsource D:/mysql8/test.txtsource test.sql均显示faied to open file,于是我发了个问答,多谢"温柔的橙叙猿"这位大佬的解答,得到了以下两种解决方法:下载一个navicat for mysql,连接数据库,在里面运行SQL文件找文件时,记得将这里改成全部文件,不原创 2021-09-23 23:54:42 · 4566 阅读 · 0 评论