最新文章列表

twisted

client端 #!/usr/bin/python # -*- coding: utf-8 -*- from twisted.internet import reactor, protocol class EchoClient(protocol.Protocol): #建立连接后调用的事件 def connectionMade(self): ...
xdx2599 评论(0) 有428人浏览 2016-03-24 23:32

twisted安装

下载最新版 twisted: http://twistedmatrix.com/trac   得到: 写道 Twisted-13.1.0.tar.bz2 解压: tar -jxf Twisted-13.1.0.tar.bz2 build:  cd Twisted-13.1.0/ python setup.py  build install: sudo python setu ...
younglibin 评论(0) 有1424人浏览 2013-10-01 11:12

Twisted中的DeferredList

在这个blog上学习twisted。 http://blog.163.com/gzjck_gshock/blog/static/77206203201291461538770/ 里面的一个关于DeferredList的例子一开始对语法不太理解,copy并run了一遍就理解了,把代码贴在这里留作以后借鉴。 connecttest.py: from twisted.internet impo ...
standalone 评论(0) 有1253人浏览 2013-02-21 17:08

Python Twisted 中文教程

        转载自lihuipeng 的 BLOG,查看原文请猛击这里,英文原文请点击。 异步编程 缓慢的诗 开始twisted twisted Poetry client 改进twisted poetry client 继续重构twisted poetry client 小插曲,延迟对象 延迟的诗 Deferred 的第二个小插曲 可以变化的诗 一个twisted 的服务端 为server ...
E2718282 评论(0) 有2554人浏览 2012-07-26 14:29

python twisted安装中的错误

liunx: Centos 6.2 python: 2.6.6 错误:python.h没有这个文件或目录。 可以使用命令 yum install python-devel 安装python-dev 包,之后就可以了。
onlyugly 评论(0) 有1354人浏览 2012-07-06 12:00

which one is thread safe?

quote:   It's not so much that they're not performed, it's that because you called a reactor API from a thread, which you are never ever ever allowed to do , you have put your program into a state w ...
mathgl 评论(0) 有936人浏览 2011-09-21 12:31

最近博客热门TAG

Java(141741) C(73643) C++(68602) SQL(64557) C#(59604) XML(59131) HTML(59042) JavaScript(54916) .net(54782) Web(54511) 工作(54116) Linux(50906) Oracle(49861) 应用服务器(43285) Spring(40811) 编程(39452) Windows(39380) JSP(37540) MySQL(37266) 数据结构(36420)

博客人气排行榜

    博客电子书下载排行

      >>浏览更多下载

      相关资讯

      相关讨论

      Global site tag (gtag.js) - Google Analytics