Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
453 views
in Technique[技术] by (71.8m points)

python2 tornado.asynchttpclient的start卡住主线程,嵌套主循环。

python2.7,其实是需要一个异步的httpclient库(不想自己写··),大致试了下tornado的asynchttpclient,需要调用start,貌似这个里面是自己的while true循环处理,似乎为tornado整个框架服务的。我想把这套东西嵌入到我的主循环里,有什么好的办法吗。或者有什么其他的库可以使用。另外是需要python2.7的环境


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
等待大神解答

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...