This is kind of unrelated to your question, but if you really like both Python and IRC, you may be interested int moobot, an IRC bot written in python... http://sourceforge.net/projects/moobot/