asyncore / asynchat IRC客户端 [英] asyncore/asynchat IRC client
问题描述
那里有男人和女孩。
我正在写一个IRC机器人(尽管那里有很多可以做我想做的事,我喜欢学习 - -doing)并且目前使用以下内容连接到服务器:
Hi there guys and girls.
I''m writing an IRC bot (even though there are loads out there that can do what I want, I love to learn-by-doing) and currently use the following to connect to the server:
推荐答案
嘿,伊恩。喜欢你写作的方式。我有一个USB模型,它将读取数据包排队,以便应用程序在它周围的某个地方到达时读取。我会为你挖掘这个链接。
我希望你喜欢我们的Python论坛,
Barton
Hey, Ian. Love the way you write. I''ve got a USB model that queues read packets for the app to read when it gets around to it around here somewhere. I''ll dig up that link for you.
I hope you like our Python forum,
Barton
嘿,伊恩。喜欢你写作的方式。我有一个USB模型,它将读取数据包排队,以便应用程序在它周围的某个地方到达时读取。我会为你挖掘这个链接。
我希望你喜欢我们的Python论坛,
Barton
Hey, Ian. Love the way you write. I''ve got a USB model that queues read packets for the app to read when it gets around to it around here somewhere. I''ll dig up that link for you.
I hope you like our Python forum,
Barton
啊,这是这里。线程和排队,一体化。
我没有使用过asyn *模块。
Ah, here it is. Threading and Queuing, all in one.
I haven''t used the asyn* modules.
嘿,伊恩。喜欢你写作的方式。
Hey, Ian. Love the way you write.
谢谢 - 多年来我发现你的问题阅读越有趣,人们阅读和回复的可能性就越大! :o)
Thank you - I''ve found over the years that the more entertaining your questions are to read, the more likely people are to read and reply! :o)
啊,这是它。线程和排队,一体化。
我没有使用过asyn *模块。
Ah, here it is. Threading and Queuing, all in one.
I haven''t used the asyn* modules.
再次感谢 - 这是一个有趣的读物。我看到了线程背后的逻辑,几乎是视觉上的视觉阅读和概念我认为它几乎是我所需要的。然而,令我痛苦的是,目前python IRC机器人的每个例子都设法利用asyn *模块,这样就完全混淆了我,而且我个人认为,整个事情过于复杂。我很确定它应该去某个地方(主要来自python bot''phenny''):
Thanks again for that - it was an interesting read. I see the logic behind the threading, almost deamonizing reading and the concept I think it pretty much what I need. However, much to my distress, every current example of python IRC bots manages to utilise asyn* modules in such a way as to completely confuse me and, I personally think, over-complicate the whole thing. I''m pretty sure it should go somewhere along the lines of (mostly from python bot ''phenny''):
这篇关于asyncore / asynchat IRC客户端的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!