Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/regex/19.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python KeyErrorr:'to_user_name_Python_Twitter - Fatal编程技术网

Python KeyErrorr:'to_user_name

Python KeyErrorr:'to_user_name,python,twitter,Python,Twitter,是否有人遇到如下所示的['KeyErrorr:'to_user_name]: Traceback (most recent call last): File "finalised1.py", line 53, in <module> touser = tweet['to_user_name'] KeyError: 'to_user_name' to_user_name不是tweet字典中的键 如果你还在这里,我想感谢你7年前回答我的第一个python问题我的荣幸!我希望

是否有人遇到如下所示的['KeyErrorr:'to_user_name]:

Traceback (most recent call last):
  File "finalised1.py", line 53, in <module>
    touser = tweet['to_user_name']
KeyError: 'to_user_name'

to_user_name不是tweet字典中的键

如果你还在这里,我想感谢你7年前回答我的第一个python问题我的荣幸!我希望你仍然喜欢python!