我正在实现基于服务器客户端的TictacToe。但我收到了错误

时间:2016-12-04 07:26:04

标签: python python-3.x tkinter client-server

在server.py [server.py] [1] /当我点击游戏的方块进行移动时,我收到以下错误。

main

Server.py: [1]:volatile

在client.py [client.py] [1]中我收到以下错误:

File "server.py", line 36, in run
        self.connection.send((self.mark) )
    TypeError: a bytes-like object is required, not 'str'

client.py [1]:http://pastebin.com/HR3DC6Kd

我正在使用python3。怎么解决这个?我已经尝试了一切。

0 个答案:

没有答案
相关问题