SSL objects use "write", not "send".
You also need to change this:
self.sock.write('NICK %s\r\n') % self.nick
to this:
self.sock.write('NICK %s\r\n' % self.nick)
If you don't, the interpreter will bomb on trying to concatenate the
return value for "write" (an integer) with the string self.ni
I am trying to write a simple python IRC client, roughly following
this guide: http://www.devshed.com/c/a/Python/Python-and-IRC/
I have written some code, which uses the same commands as the guide,
but I get this error:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framewor
On Mar 13, 3:16 pm, "Gabriel Genellina" <[EMAIL PROTECTED]>
wrote:
> En Tue, 13 Mar 2007 10:38:24 -0300, Patrick Altman <[EMAIL PROTECTED]>
> escribió:
>
> >> Yes, it's a known problem. See this message with a
> >> self-response:http://mail.python.org/pipermail/python-list/2006-March/375087.html
>
En Tue, 13 Mar 2007 10:38:24 -0300, Patrick Altman <[EMAIL PROTECTED]>
escribió:
>> Yes, it's a known problem. See this message with a
>> self-response:http://mail.python.org/pipermail/python-list/2006-March/375087.html
> Are there plans to include this fix in the standard Python libraries
>
> Yes, it's a known problem. See this message with a
> self-response:http://mail.python.org/pipermail/python-list/2006-March/375087.html
Are there plans to include this fix in the standard Python libraries
or must I make the modifications myself (I'm running Python 2.5)?
--
http://mail.python.
En Tue, 13 Mar 2007 00:07:55 -0300, Patrick Altman <[EMAIL PROTECTED]>
escribió:
> I am attempting to use a HEAD request against Amazon S3 to check
> whether a file exists or not and if it does parse the md5 hash from
> the ETag in the response to verify the contents of the file so as to
> save
I am attempting to use a HEAD request against Amazon S3 to check
whether a file exists or not and if it does parse the md5 hash from
the ETag in the response to verify the contents of the file so as to
save on bandwidth of uploading files when it is not necessary.
If the file exist, the HEAD works