(忽略g.text和p.content返回“您无权查看此内容”的插头.dj)我知道错误了
Traceback (most recent call last):
File "plugling.py", line 20, in <module>
r.send('{"a":"auth","p":"'+g+'","t":'+t+'}')
TypeError: cannot concatenate 'str' and 'Response' objects
运行此代码时:
^{pr2}$它也不喜欢我用%s作为变量。我不知道我做错了什么。提前谢谢,如果我没有解释清楚,请告诉我。在
您正在尝试连接
Response
对象:
^{pr2}$g
是响应对象。你想得到文本值:如果您试图将JSON数据发送到^{} module ,那么您可能需要查看^{} module :
相关问题 更多 >
编程相关推荐