全部博文(921)
发布时间:2015-08-05 13:58:10
wget https://bitbucket.org/pypy/pypy/downloads/pypy-1.9-linux64.tar.bz2tar -jxvf pypy-1.9-linux64.tar.bz2mv pypy-1.9 /usr/local/pypyln -s /usr/local/pypy/bin/pypy /usr/bin/pypy [root@openstack ~]# pypy pypy: error while loading shared libraries: libbz2.so.1.0: cannot open shared object f......【阅读全文】
发布时间:2015-07-26 11:17:03
<p style="margin:10px auto;font-family:Verdana, Geneva, Arial, Helvetica, sans-serif;font-size:13px;line-height:23px;white-space:normal;background-color:#FFFFFF;"><span style="font-size:12px;">Twisted 是Python界很有名的一个基于异步事件的网络I/O框架,性能棒棒的,经历过BT的考验。本人垂涎很久了,于是.........【阅读全文】
发布时间:2015-07-25 10:33:01
<span style="color:#333333;font-family:Arial;font-size:18px;line-height:26px;white-space:normal;background-color:#FFFFFF;"><br />原文链接: <a href="http://blog.csdn.net/zhthl20091003/article/details/7699154" target="_blank">http://blog.csdn.net/zhthl20091003/article/details/7699154</a><br />.........【阅读全文】
发布时间:2015-07-25 09:18:15
二、应用实例解析2.1 subprocess模块的使用1. subprocess.call>>> subprocess.call(["ls", "-l"]) 0 >>> subprocess.call("exit 1", shell=True) 1 2. 调用系统中cmd命令,显示命令执行的结果:x=subprocess.check_output(["echo", "Hello World!"],shell=True) &n.........【阅读全文】