I came across a blog entry which shows you how to create an IRC bot from scratch in only a few lines of Python, which honestly kind of amazed me even being somewhat fluent with Python. I’ve seen a number of other Python IRC bot packages but have yet to try them out (such as Supybot, Phenny, and Pynfo), but a quick example like that is pretty impressive to me.
About
devnulled is a blog which caters to software development related issues with a pro-unix and open standards slant. devnulled has been featured on Slashdot, Digg, the Indeed Blog, O'Reilly Hacks, and del.icio.us/popular.
Brandon Harper, the author behind devnulled,
is a Software Engineer primarily working with Java but also dabbles in Python, ColdFusion, FreeBSD, and Linux. He's been
programming since age eight, professionally for over ten years, and has been been published in various industry publications and popular websites.
Brandon also enjoys music, photography, politics, command prompts, and things with wheels a wee bit much.
3 Responses
Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.
See also shellbot.sh, which is an even more minimalistic bot written using bash. Basically what all the added junk of Supybot and Phenny &c. give you is features; their cores tend to be reducible to almost the same as given in that tutorial. The primary differences will be the use of asynchronous messaging, stuff to prevent flooding, and so on.
The link to the tutorial no longer works.
The page from the Internet Archive:
http://web.archive.org/web/200.....-in-python