摘要: 前戏 --创建表 create table xxx( id int unsigned not null auto_increment primary key, name varchar(20) not null ); 1.增 --全字段插入 insert into xxx values(0,"王老五 阅读全文
posted @ 2019-07-21 21:54 jum_blog 阅读(279) 评论(0) 推荐(0) 编辑
摘要: 以下以student表为例 --查看表结构 desc student; --添加字段 alter table student add (字段名)age (数据类型)int unsigned (约束)not null default 0; alter table student add birthda 阅读全文
posted @ 2019-07-21 21:15 jum_blog 阅读(288) 评论(0) 推荐(0) 编辑
摘要: 1.备份原文件 1 sudo cp /etc/apt/sources.list /etc/apt/sources_list.bak 2.加载文件 vim:vim sourses.list ubuntu desktop :sudo gedit /etc/apt/sources.list 3.更改原文件 阅读全文
posted @ 2019-07-21 01:07 jum_blog 阅读(340) 评论(0) 推荐(0) 编辑
摘要: 1 # -*- coding: utf-8 -*- 2 # @Time : 2019-07-17 1:39 3 # @File : 网络socket实现http服务器.py 4 # @Software: PyCharm 5 6 import socket 7 import re 8 9 10 def server_conn(conn,file_name): 11 ... 阅读全文
posted @ 2019-07-17 03:42 jum_blog 阅读(1053) 评论(0) 推荐(0) 编辑
摘要: import timedef fun1(): while True: print("fun1") time.sleep(0.1) yielddef fun2(): while True: print("fun2") time.sleep(0.1) yieldif __name__ == "__mai 阅读全文
posted @ 2019-07-15 20:16 jum_blog 阅读(485) 评论(0) 推荐(0) 编辑
摘要: 1 import pygame 2 from first_pygame.plane_spirit import * # 调用重载的精灵类 3 4 # 初始化 5 pygame.init() # 初始化所有所... 阅读全文
posted @ 2019-07-01 21:48 jum_blog 阅读(339) 评论(0) 推荐(0) 编辑
摘要: 1.概述 2.HTMLparser 3.总结 1 个人观点 2 如果是做搜索引擎建议还是用scrapy框架 参照:https://www.cnblogs.com/mfryf/p/3691563.html 阅读全文
posted @ 2019-06-27 00:56 jum_blog 阅读(356) 评论(0) 推荐(0) 编辑
摘要: 一.概述 import threading 调用 t1 = threading.Thread(target=function , args=(,)) Thread类的实例方法 GIL(全局解释器锁) 阅读全文
posted @ 2019-06-27 00:03 jum_blog 阅读(1803) 评论(0) 推荐(0) 编辑
摘要: 1.概述 参照:https://www.liaoxuefeng.com/wiki/897692888725344/983420006222912 阅读全文
posted @ 2019-06-27 00:00 jum_blog 阅读(1178) 评论(0) 推荐(0) 编辑
摘要: 1.概述 2.举例 2.1 另一种摘要方式 SHA1 3.应用 4.高级应用 5.总结 1 摘要算法在很多地方都有广泛的应用。 2 要注意摘要算法不是加密算法,不能用于加密(因为无法通过摘要反推明文),只能用于防篡改, 3 但是它的单向计算特性决定了可以在不存储明文口令的情况下验证用户口令 参照:h 阅读全文
posted @ 2019-06-26 21:58 jum_blog 阅读(6304) 评论(0) 推荐(0) 编辑
摘要: lambda 匿名函数 map() 函数 阅读全文
posted @ 2019-06-26 19:28 jum_blog 阅读(9118) 评论(1) 推荐(2) 编辑
摘要: 1.nametulpe 2.deque 3.defaultdict # 注意默认值是调用函数返回的,而函数在创建defaultdict对象时传入。 # 除了在Key不存在时返回默认值,defaultdict的其他行为跟dict是完全一样的。 4. OrderedDict 5.Counter 参照:h 阅读全文
posted @ 2019-06-26 13:37 jum_blog 阅读(706) 评论(0) 推荐(0) 编辑
摘要: 生而为人,出生你无法选择,人生你可以 面临毕业,面临就业,面对21岁的自己, 编程思想来源于生活 1.组块 大任务化小块,小块任务个个击破,饭还是得一口口的吃 2.自信心 bug千万种,try try try 3.改变对自己的定义 不如换个方向看问题 4.高阶思维 生活不止眼前的bug,还有未知的b 阅读全文
posted @ 2019-06-26 01:01 jum_blog 阅读(170) 评论(0) 推荐(0) 编辑
摘要: 17411043 阅读全文
posted @ 2019-06-14 12:52 jum_blog 阅读(352) 评论(0) 推荐(0) 编辑
摘要: 转载:https://www.cnblogs.com/ginvip/p/6439679.html 阅读全文
posted @ 2019-06-09 20:25 jum_blog 阅读(228) 评论(0) 推荐(0) 编辑

载入天数...载入时分秒...