为了账号安全,请及时绑定邮箱和手机立即绑定

NameError: name 'encode' is not defined是什么问题

conn.send(str(random.randint(1,1000)),encode())


正在回答

3 回答

不是,encode(),是.encode()

0 回复 有任何疑惑可以回复我~

conn.send(str(random.randint(1,1000)).encode())

0 回复 有任何疑惑可以回复我~

符号错误

0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

NameError: name 'encode' is not defined是什么问题

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信