会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
★小钻风★
博客园
首页
新随笔
联系
订阅
管理
2019年2月25日
SSH connection refused
摘要: 1、安装、配置sshd。(如果没有) 2、启动sshd。service sshd start 3、防火墙开启22端口,ssh默认端口。
阅读全文
posted @ 2019-02-25 02:29 ★小钻风★
阅读(390)
评论(0)
推荐(0)
2019年2月21日
多进程,通信
摘要: from multiprocessing import Process,Queue,Pipeimport osdef test(q,child_conn): print("sub q id:%s in the 线程号 %s"% (id(q),os.getpid())) q.put([ "hello"
阅读全文
posted @ 2019-02-21 20:42 ★小钻风★
阅读(110)
评论(0)
推荐(0)
2019年2月20日
Event 交互
摘要: # project:pybuilder # author:slx# datetime:2019/2/20 3:19# software: PyCharmimport threadingimport timeevent =threading.Event()class Boss(threading.Th
阅读全文
posted @ 2019-02-20 03:33 ★小钻风★
阅读(125)
评论(0)
推荐(0)
RLock 解决死锁
摘要: import threadingimport time lock =threading.RLock()class Mythread(threading.Thread): def __init__(self,name): super(Mythread,self).__init__() self.nam
阅读全文
posted @ 2019-02-20 00:53 ★小钻风★
阅读(442)
评论(0)
推荐(0)
2019年2月19日
死锁现象
摘要: import threadingimport timelockA = threading.Lock()lockB = threading.Lock()class Mythread(threading.Thread): def __init__(self,name): super(Mythread,s
阅读全文
posted @ 2019-02-19 23:34 ★小钻风★
阅读(158)
评论(0)
推荐(0)
2018年7月26日
Pycharm 关于BeautifulSoup 安装失败的解决方案
摘要: 问题的原因在于对应的python版本 解决方法如下: 1、重建python项目文件夹 2、重新安装BeautifulSoup4,bs4 3、成功
阅读全文
posted @ 2018-07-26 16:15 ★小钻风★
阅读(2803)
评论(0)
推荐(0)
2016年9月10日
大家好
摘要: 很久没来了,心还在这
阅读全文
posted @ 2016-09-10 17:32 ★小钻风★
阅读(88)
评论(0)
推荐(0)
2015年8月30日
关于矩阵
摘要: 1、矩阵可以通过坐乘、右乘可逆矩阵来进行自由变换,其秩不变。2、单位矩阵经过交换行列后的逆=其自身
阅读全文
posted @ 2015-08-30 20:25 ★小钻风★
阅读(217)
评论(0)
推荐(0)
公告
点击右上角即可分享