Twitter search

53 views
Skip to first unread message

gmconklin

unread,
Apr 20, 2011, 3:31:52 AM4/20/11
to Twython Talk
I am trying to do a multi keyword search using Twython without
authentication... Can I use conditionals in the loop? like ---

for i in search1["results"] and search2["results"]:
print i["text"]

I actually want it in a file, but that is trivial presently. Thanks

Garot

Ryan McGrath

unread,
Apr 20, 2011, 3:34:40 AM4/20/11
to Twython Talk
Try...

for i in search1['results'] and i in search2['results']:
print i['text']

- Ryan
Reply all
Reply to author
Forward
0 new messages