[issue27087] unable to use socket send and sendall due to type error

Eric V. Smith report at bugs.python.org
Sun May 22 16:12:58 EDT 2016


Eric V. Smith added the comment:

You'll need to convert the string to bytes first, by using .encode().

----------
nosy: +eric.smith
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27087>
_______________________________________


More information about the Python-bugs-list mailing list