需要一个整数 (得到的类型是元组) E

2024-09-29 19:32:58 发布

您现在位置:Python中文网/ 问答频道 /正文

我在Python 3中收到以下错误 有什么想法吗?在

clientDtSocket.send(bytes(fileName,"UTF-8"),("localhost",8101))
TypeError: an integer is required (got type tuple)

Tags: ansendlocalhostbytesistype错误required

热门问题