TypeError: send() argument 1 must be string or read-only buffer, not int

wittempj at hotmail.com wittempj at hotmail.com
Thu Feb 17 15:25:29 EST 2005


if you want to send the value '1000' over a socket connection in a
socket object do something like sock.send(str(1000))  if socket is a
socket.socket object.




More information about the Python-list mailing list