上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 21 下一页
摘要: pxssh模块用于在python中ssh远程连接,执行命令,返回结果,但注意不支持Windows系统 最佳实践 s.sendline(cmd)和s.prompt()连着写,可以不输出s.before 阅读全文
posted @ 2018-01-04 17:36 Peterer~王勇 阅读(4256) 评论(0) 推荐(0) 编辑
摘要: raw_input()和input()都是python中的内建函数,用于读取控制台用户的输入,但有所区别: 总结 raw_input()输入时无需加任何修饰符,raw_input()会将所有输入转换为字符串 input()期待输入一个合理的python表达式,会将输入转换为合理的数据类型,输入字符串 阅读全文
posted @ 2018-01-04 16:01 Peterer~王勇 阅读(507) 评论(0) 推荐(0) 编辑
摘要: 安装Redis Redis客户端常见操作 Redis是key-value数据库,支持五种数据类型:string(字符串),hash(哈希),list(列表),set(集合)及zset(sorted set:有序集合)。 当value是string类型,命令包括set get setnx incr d 阅读全文
posted @ 2017-12-27 17:11 Peterer~王勇 阅读(5592) 评论(0) 推荐(0) 编辑
摘要: JMS编程模型 JMS定义了Java中访问消息中间件的一组接口,主要包括ConnectionFactory、Connection、Session、Destination、MessageProducer、MessageConsumer、Message等,这些接口的具体实现由具体的消息中间件完成。以Ac 阅读全文
posted @ 2017-12-26 16:47 Peterer~王勇 阅读(709) 评论(0) 推荐(0) 编辑
摘要: 消息中间件的优势 UNIX的进程间通信就开始运用消息队列技术,一个进程将数据写入某个特定的队列中,其它进程可以读取队列中的数据,从而实现异步通信。对于如今的分布式系统,消息队列已经演变为独立的消息中间件产品,相比于RPC同步通信的方式来说有几个明显的优势: 低耦合,不管是程序还是模块之间,使用消息中 阅读全文
posted @ 2017-12-26 15:20 Peterer~王勇 阅读(10767) 评论(2) 推荐(0) 编辑
摘要: 安装xlrd,xlwt xlrd读取execl xlwt写execl 阅读全文
posted @ 2017-12-25 16:39 Peterer~王勇 阅读(5812) 评论(0) 推荐(0) 编辑
摘要: 安装cx_Oracle wget http://download.oracle.com/otn/linux/instantclient/122010/instantclient-basic-linux.x64-12.2.0.1.0.zip unzip instantclient-basic-linu 阅读全文
posted @ 2017-12-25 15:07 Peterer~王勇 阅读(714) 评论(0) 推荐(0) 编辑
摘要: xml.etree.ElementTree用于解析和构建XML文件 解析XML文件 parse()函数,从xml文件返回ElementTree Element.tag 、Element.attrib、Element.text for child in root 迭代获得子元素 Element.get 阅读全文
posted @ 2017-12-19 13:43 Peterer~王勇 阅读(10345) 评论(0) 推荐(0) 编辑
摘要: 安装依赖 yum install -y binutils.x86_64 compat-libcap1.x86_64 gcc.x86_64 gcc-c++.x86_64 glibc.i686 glibc.x86_64 \ glibc-devel.i686 glibc-devel.x86_64 ksh 阅读全文
posted @ 2017-12-19 11:06 Peterer~王勇 阅读(3890) 评论(0) 推荐(0) 编辑
摘要: #一级标题 ##二级标题 ###三级标题 ####四级标题 #####五级标题 ######六级标题 一级标题 二级标题 *斜体* **粗体** ***加粗斜体*** <del>删除线</del> 超链接[www.baidu.com](http://www.baidu.com "百度") 参考式超链 阅读全文
posted @ 2017-12-13 14:57 Peterer~王勇 阅读(133) 评论(0) 推荐(0) 编辑
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 21 下一页