from twisted.internet import threads def request(url): return Remote.request(url) def response(data): print data threads.deferToThread(request,'http://www.sina.com').addCallback(response)
37,721
社区成员
34,239
社区内容
加载中
试试用AI创作助手写篇文章吧