Hey, Well I have the following:
data_received = s.recv(1024) print data_received That only prints this when the bot connects: ''':irc.opera.com NOTICE AUTH :*** Looking up your hostname...''' Nothing else, so I am not sure whether it would actually save anything other than that if I chose to have it save do a file. I will try that though. Maybe there is some other way of doing this? > Just read all incoming messages on the socket and dump them to an > output file. Then go look at it and figure out what you're receiving > and how you can parse it. > IRC commands are generally pretty easy to parse. > Once you figure out the structure, you should be able to send stuff to > the server in the same structure (using an online reference to find > the commands and their corresponding arguments.) > If you don't feel like following this approach, I can just give you > some code that listens to the IRC server and echoes everything. > But that somehow seems less fun. > -Luke _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor