【发布时间】:2015-06-23 21:02:37
【问题描述】:
我刚刚从 python 2.x 迁移到 python 3.x,下面的代码已经停止工作。
#self.request is the TCP socket connected to the client
self.data = self.request.recv(1024).strip()
print "{} wrote:".format(self.client_address[0])
print self.data
words = self.data.split(',') //the problem seems to be here
知道如何解决这个问题吗?谢谢!
【问题讨论】:
标签: sockets python-3.x