会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Sky__liu
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
5
6
7
8
9
2018年8月21日
生成器表达式和列表推导式的区别:
摘要: 通过以上例子,可知道 ==>>生成器表达式是现用现生成,列表推导式是一次性生成静态数据
阅读全文
posted @ 2018-08-21 14:53 Sky__liu
阅读(826)
评论(0)
推荐(0)
2018年6月25日
mysql详解常用命令操作,利用SQL语句创建数据表—增删改查
摘要: CREATE TABLE `test`.`users` ( `id` int(10) NOT NULL AUTO_INCREMENT, `name` varchar(20) DEFAULT NULL, `age` int(10) DEFAULT NULL, PRIMARY KEY (`id`) )
阅读全文
posted @ 2018-06-25 19:37 Sky__liu
阅读(2422)
评论(0)
推荐(0)
2018年6月24日
多线程——进行自定义运算
摘要: 1 import threading 2 def a(aa): 3 global aa1 4 aa1-=aa 5 print(aa1,aa,threading.current_thread().name) 6 7 aa1=100 #定义起始数值 8 def threadd(): ...
阅读全文
posted @ 2018-06-24 16:10 Sky__liu
阅读(242)
评论(0)
推荐(0)
公共数值操作(2)——数值
摘要: 1 测试1 2 3 import threading 4 import time 5 6 g_num = 0 7 8 def work1(num): 9 global g_num 10 for i in range(num): 11 g_num += 1 12 print("----in work1, g_num is %d---"...
阅读全文
posted @ 2018-06-24 15:49 Sky__liu
阅读(221)
评论(0)
推荐(0)
简单公共数值操作(1)——数值
摘要: import threading import time counter = 0 mutex = threading.Lock() class MyThread(threading.Thread): def __init__(self): threading.Thread.__init__(self
阅读全文
posted @ 2018-06-24 15:40 Sky__liu
阅读(209)
评论(0)
推荐(0)
2018年6月13日
报错处理(UnicodeEncodeError: 'gbk' codec can't encode character '\xa0' in position 2: ill egal multibyte sequence)
摘要: 参照文【https://blog.csdn.net/Dillon2015/article/details/53204955】的说法, 第一个错 【UnicodeEncodeError:'gbk' codec can't encode character '\xa9' in position 0:il
阅读全文
posted @ 2018-06-13 21:02 Sky__liu
阅读(2416)
评论(0)
推荐(0)
【url ---lib___】笔趣阁(抓取斗罗大陆完整)和(三寸天堂)
摘要: —————————————————————————————————————————————————————————————————— 三寸天堂 特别需要注意的是UA在Request中传值会出现错误,这时需要耐心来把问题解决 容易出现的错误【 1,协议中,referer错误,host错误 2,网页xp
阅读全文
posted @ 2018-06-13 19:26 Sky__liu
阅读(1530)
评论(0)
推荐(0)
2018年6月9日
cent os 7.0 出现的问题解决方法
摘要: https://www.jb51.net/article/34012.htm python重编译,并进行安装 https://www.jb51.net/os/RedHat/211444.html VI编辑的用法和介绍 https://www.aliyun.com/jiaocheng/118926.h
阅读全文
posted @ 2018-06-09 10:06 Sky__liu
阅读(778)
评论(0)
推荐(0)
2018年5月13日
抓取__美图录(meitulu,com)__未完成下载功能,
只有注册用户登录后才能阅读该文。
阅读全文
posted @ 2018-05-13 02:43 Sky__liu
阅读(9)
评论(0)
推荐(0)
上一页
1
···
5
6
7
8
9
公告