Communicate between two python app
<p>I have done two app's :</p>

<ol>
<li>The first one is a spider that extract all links from a website.<br></li>
<li>The second one  do some checks on each link sent by the first app.</li>
</ol>

<p>When the first app find a link, how can I send a notification or something else to the second app ?<br>
The second app must listen continuously the data sent by the first app.</p>

<p>I found few post speaking of <code>Queue</code> but I don't really understand how that work.</p>

<p>Can someone explain me with a simple exemple how to communicate between the two app ?</p>

<p>Thank's</p>

<p>A <a href="https://en.wikipedia.org/wiki/Queue_%28abstract_data_type%29" rel="nofollow">Queue</a> is just a container into which items may be put and retrieved, often in <a href="https://en.wikipedia.org/wiki/FIFO_%28computing_and_electronics%29" rel="nofollow">FIFO</a> order. The <a href="https://docs.python.org/2/library/queue.html" rel="nofollow"><code>Queue</code></a> module in Python 2 is just an implementation of one that supports synchronized access, meaning that it supports multiple threads using it (putting and getting things) at the same time.</p>

python multithreading python-2.7 queue