Error reporting: Server_Socket.sendto (bytes (s), addr)
Modify: Server_socket.sendto(bytes(s.encode(‘utf-8’)), addr) Then you can communicate successfully
in fact, it’s strange. I never reported an error before. Later, I changed the environment from Python 2.7 to Python 3.5 ~~