Python: How to add variable to already running Python program?
-
Hi, I have a Python program running in the background. It's a program using the twitter streaming API. Now if a new user uses the application they will submit their own set of keywords. I want to, with out stopping the running stream, add the new key words to the stream. How will i be able to do this.
-
Answer:
Use a channel or a queue for the python program to listen on, while supplying keywords to that given channel. Have a look at queuing services like RabbitMQ, Openstack Marconi and the likes.
Sriram Madapusi Vasudevan at Quora Visit the source
Related Q & A:
- How to add a digital signature to my program?Best solution by blog.didierstevens.com
- How to add image to QTextBrowser using Python?Best solution by Stack Overflow
- How to add two variable in bash?Best solution by Stack Overflow
- How do I compile my Python program to a .jar with Jython?Best solution by Stack Overflow
- How can fix Internet Explorer currently running with Add-on disabled? Anybody that can help me?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.