Message78278
When using the socket module and performing a socket.send('hello
world'), the error returned is:
Traceback (most recent call last):
File "C:\Python30\testclient.py", line 12, in <module>
s.send('Hello world') # send the data
TypeError: send() argument 1 must be string or buffer, not str
TypeError should refer to byte not string. |
|
Date |
User |
Action |
Args |
2008-12-25 01:46:57 | Luther | set | recipients:
+ Luther |
2008-12-25 01:46:57 | Luther | set | messageid: <1230169617.77.0.0806737582918.issue4745@psf.upfronthosting.co.za> |
2008-12-25 01:46:56 | Luther | link | issue4745 messages |
2008-12-25 01:46:56 | Luther | create | |
|