Search code examples
pythonirc

IRC client in python


I'm writing python code for IRC client.

I want to understand how IRC client and server communicating each other.

Can anyone give me good tutorial or IRC communication architecture to understand it in depth?

Thanks


Solution

  • If you want to reinvent the wheel, then you have to implement the RFC and do everything from scratch.

    If you don't want to do that and would require some level of abstraction to ease your development (and which you should), then see Twisted.

    There is also a Python IRC client library.