zurück aktuellen tweets in tweepy?

Ich schrieb ein twitter-Programm, mit tweepy. Wenn ich diesen code ausführen, druckt es die Python ... Werte für Sie, wie

<tweepy.models.Status object at 0x95ff8cc>

Das ist nicht gut. Wie bekomme ich den eigentlichen 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)
Danke. Dies ist sehr nützlich für Objekte im Allgemeinen.

InformationsquelleAutor tekknolagi | 2011-10-10

Schreibe einen Kommentar