For my chess robot communication i originally started off using python but was having problems with it timing out on the IRC channel. Didnt get much past that before i switch to perl with the help of Rik. Perl worked well for me, but to answer your question, yes you can communicate with a IRC channel using python. There are multiple IRC bots around the web using python that may help you as examples.
I am curious if you are new to Pyhton. If so you may find Python 2.x a better fit due to larger support and the fact that 3.x isn’t very backwards compatible and less friendly (although evolving). Anyways, pySerial API will work with both Python versions:
I encourage you to use python 2.7.1 (current version). For more info I suggest googling "python 2 vs 3"
For an awsome set of python 2 video tutorials go here - you may also want to check out the wxpython tutorials if you make it to the end of those 44 video tutorials.