On Mon, Apr 16, 2012 at 8:41 PM, Surya K wrote:
[snip]
> So, what IRC commands should I use and how do I typically implement them?
I found this useful --
http://www.irchelp.org/irchelp/rfc/rfc.html
___
Tutor maillist - Tutor@python.org
To unsubscribe
Hi,
On 16 April 2012 17:11, Surya K wrote:
> Actually, I am writing a small IRC bot for a game (A Multiplayer one).
>
> This how my code looks. (I this code, I am just trying to read from IRC
> client and send a message to it..)
>
>
> s.send("NICK %s\r\n" % NICK)
>
> s.send("USER %s %s bla :%
On 16/04/12 16:11, Surya K wrote:
> Actually, I am writing a small IRC bot for a game (A Multiplayer one).
>
>
> This how my code looks. (I this code, I am just trying to read from IRC
> client and send a message to it..)
>
> import sys
>
> import socket
>
> import str
Actually, I am writing a small IRC bot for a game (A Multiplayer one).
This how my code looks. (I this code, I am just trying to read from IRC client
and send a message to it..)
import sysimport socketimport string
HOST="irc.freenode.net"PORT=6667NICK="MyBot"IDENT="Mybot"REALNAME="Python"readb
On 4/15/2012 10:54 PM, bob gailer wrote:
On 4/14/2012 11:27 AM, Tom Tucker wrote:
Hello all. Any suggestions how I could easily iterate over a list
and print the output 3 across (when possible)? One method I was
considering was removing the recently printed item from the list,
checking lis