我是python的新手,我正在尝试使用一个库。它引发了一个异常,我正在尝试确定是哪一个异常。这就是我正在尝试的: print e print e.print type(e.reason)[{u'message': u'Sorry, that page does not exist', u'code': 34}]
<class '<e
我正在使用tweepy制作一个twitter应用程序。当用户在tweet/更新资料等时,他们会得到一些错误。我想对错误进行分类,并为用户提供更多信息。except tweepy.TweepError, e:
if tweepy.TweepError is "Account update failed: Description is toolong (maximum is 160 characters)&q
我学习了关于如何使用Tweepy创建一个类似汽车的Twitter机器人的教程。在经历了许多错误之后,我看到Tweepy改变了一些术语。在做了一些更改之后,比如on except tweepy.TweepError to except tweepy.errors.TweepError。代码不能正常运行。: tweet.favorite()
tim
我正在尝试使用tweepy发布更新,当我在GAE中上传GAE.The代码并尝试打开网址时,它在localhost.However中运行良好,我收到以下错误:TweepError: Failed to send request: The Socket API will be enabled for this所以我的问题是,tweepy是否需要启用计费才