I have a working script that successfully gathers tweets that mention \"stackoverflow\". However, I want to run the script in iPython (rather than executive a separate .py f
You can do it by redirecting output to a file:
in Terminal/CMD just type python twitter_streaming.py > twitter_data.txt
python twitter_streaming.py > twitter_data.txt
for appending to an existing file use >> instead of >.
>>
>