![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Python Module
「已注销」
这个作者很懒,什么都没留下…
展开
-
Python expect模块
Expect python也是有支持的,只不过换个名字pexpext而已. status = pexpect.spawn('ssh %s "%s"' % (host,command)) #此处需要执行的命令 try: i = status.expect(['password:', 'continue connecting (yes/no)?'], timeout=1)...2013-12-07 12:40:43 · 2679 阅读 · 0 评论 -
Python 简单的HTTP请求处理程序
模块介绍 简单应用 一、模块介绍 SimpleHTTPServer模块用于简单的HTTP访问共享程序,linux中可直接用于命令行进行共享,Windows也可以使用Cygwin进行命令行共享. 注意:SimpleHTTPServer模块作用于当前目录且默认端口为8000 二、简单应用 linux系统 windows系统 ...2013-09-13 13:59:45 · 204 阅读 · 0 评论