[Tutor] IRC bot

2007-09-20 Thread Ulrich Holtzhausen
Thank you Kent. That worked for the output and I'm able to understand the IRC commands and syntaxes much better now. ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] IRC bot

2007-09-20 Thread Luke Paireepinart
Ulrich Holtzhausen wrote: 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 ot

Re: [Tutor] IRC bot

2007-09-20 Thread Kent Johnson
Ulrich Holtzhausen wrote: > I recently used the existing codebase of a very very simple IRC bot of > which is in one of O'Reilly's books. I modified it a bit and added the > NICK properties etc. and I was able to get it to join the server and my > IRC channel. However I'd like to know how can I

[Tutor] IRC bot

2007-09-20 Thread Ulrich Holtzhausen
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

Re: [Tutor] IRC bot

2007-09-20 Thread Luke Paireepinart
Ulrich Holtzhausen wrote: > शंतनु (Shantanoo) wrote: > >> Instead of writing your own code for the bot, I would suggest using >> supybot (http://supybot.com/). >> >> regards, >> shantanoo >> >> > Hey, thank you for the suggestion. I do know about supybot and phenny, > both are python bo

Re: [Tutor] IRC bot

2007-09-20 Thread Ulrich Holtzhausen
शंतनु (Shantanoo) wrote: > Instead of writing your own code for the bot, I would suggest using > supybot (http://supybot.com/). > > regards, > shantanoo > Hey, thank you for the suggestion. I do know about supybot and phenny, both are python bots. I want to get experience in some IRC parameters

Re: [Tutor] IRC bot

2007-09-20 Thread शंतनु (Shantanoo)
On 9/20/07, Ulrich Holtzhausen <[EMAIL PROTECTED]> wrote: > I recently used the existing codebase of a very very simple IRC bot of > which is in one of O'Reilly's books. I modified it a bit and added the > NICK properties etc. and I was able to get it to join the server and my > IRC channel. Howeve

[Tutor] IRC bot

2007-09-20 Thread Ulrich Holtzhausen
I recently used the existing codebase of a very very simple IRC bot of which is in one of O'Reilly's books. I modified it a bit and added the NICK properties etc. and I was able to get it to join the server and my IRC channel. However I'd like to know how can I get it to print to screen what's