I'm not sure why you are using a binary function (write()) to send ASCII data. If using print() instead doesn't fix anything, I'm out of ideas.
I'm not sure why you are using a binary function (write()) to send ASCII data. If using print() instead doesn't fix anything, I'm out of ideas.