Introduction
I have been practicing with Twisted for the past few days, raising python less than a month ago. My first wish was to play with what I know and use every day, IRC. I got the basic IRC connection and works using ircLogBot.py .
Question
I want to have some arbitrary code that fires whenever an IRC event is received (PRIVMSG / CTCP / JOIN / PART), and for debugging purposes, I would like to make changes to this piece of code and then reload it without disconnecting everything script and reconnecting to the IRC server.
Concluding observations
This should not be a solution that includes Twisted, as I do not quite understand it yet. Although I suppose that this is what has been distorted, being an event-based framework, is likely to succeed.
source
share