摘要: 1、安装、配置sshd。(如果没有) 2、启动sshd。service sshd start 3、防火墙开启22端口,ssh默认端口。 阅读全文
posted @ 2019-02-25 02:29 ★小钻风★ 阅读(380) 评论(0) 推荐(0) 编辑
摘要: 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 ★小钻风★ 阅读(108) 评论(0) 推荐(0) 编辑
摘要: # 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 ★小钻风★ 阅读(123) 评论(0) 推荐(0) 编辑
摘要: 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 ★小钻风★ 阅读(440) 评论(0) 推荐(0) 编辑
摘要: 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 ★小钻风★ 阅读(155) 评论(0) 推荐(0) 编辑
摘要: 问题的原因在于对应的python版本 解决方法如下: 1、重建python项目文件夹 2、重新安装BeautifulSoup4,bs4 3、成功 阅读全文
posted @ 2018-07-26 16:15 ★小钻风★ 阅读(2660) 评论(0) 推荐(0) 编辑
摘要: 很久没来了,心还在这 阅读全文
posted @ 2016-09-10 17:32 ★小钻风★ 阅读(86) 评论(0) 推荐(0) 编辑
摘要: 1、矩阵可以通过坐乘、右乘可逆矩阵来进行自由变换,其秩不变。2、单位矩阵经过交换行列后的逆=其自身 阅读全文
posted @ 2015-08-30 20:25 ★小钻风★ 阅读(208) 评论(0) 推荐(0) 编辑