会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
HunterYi
博客园
首页
新随笔
联系
订阅
管理
2018年5月14日
进程、线程
摘要: 线程就是操作系统最小的调度单位,一堆指令的集合。每一个程序的内存是独立的,进程之间不能直接通信,对内存各种资源管理的集合。 进程本身不能执行,要执行必须至少有一个线程,该线程叫主线程 所有在同一个进程里的线程是共享同一块内存空间。(all the thread in a process hava t
阅读全文
posted @ 2018-05-14 23:42 HunterYi
阅读(95)
评论(0)
推荐(0)
编辑
ssh
摘要: import paramiko ssh=paramiko.SSHClient()#创建ssh对象 ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy)#允许连接不在konw_hosts文件中的主机 ssh.connect(hostname="localhost",port=22,username='root',password='1234...
阅读全文
posted @ 2018-05-14 17:40 HunterYi
阅读(103)
评论(0)
推荐(0)
编辑
socket
摘要: 服务端: 简单实例:
阅读全文
posted @ 2018-05-14 16:48 HunterYi
阅读(117)
评论(0)
推荐(0)
编辑
公告