KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I was writing a twitter program using tweepy. When I run this code, it prints the Python ... values for them, like <tweepy.models.Status object at 0x95ff8cc> Which is not good. How do I get the actual tweet? import tweepy, tweepy.api key = XXXXX sec = XXXXX tok = XXXXX tsec = XXXXX auth = tweepy.OAuthHandler(key, sec) auth.set_access_token(tok, tsec) api = tweepy.API(auth) pub = api.home_timeline() for i in pub: print str(i)
Tags (comma-separated)
Save Edits
Cancel