trick/share
nmerlene 38bfdf2a54
Convert string to bytes in variable_server.py for Python 3
* Method socket.sendall() expects bytes to be sent, rather than a string
* Python 3 stores text strings as unicode (not ASCII) by default
* Therefore, strings must be explicitly converted to bytes for Python 3 compatibility
* This works for both Python 2 and Python 3 (tested on Python 2.7, Python 3.6, and Python 3.7)
2019-04-24 15:45:06 -05:00
..
doc/trick Updates to Trick 17 Tutorial slides. Ref #554 2018-02-22 15:47:40 -06:00
man/man1 man pages completely out of date #253 2016-08-02 09:56:43 -05:00
trick Convert string to bytes in variable_server.py for Python 3 2019-04-24 15:45:06 -05:00