title: python interprocess querying/control
body: <p>I have this Python based service daemon which is doing a lot of multiplexed IO (select).</p>
  
  <p>From another script (also Python) I want to query this service daemon about status/information and/or control the processing (e.g. pause it, shut it down, change some parameters, etc).</p>
  
  <p>What is the best way to send control messages ("from now on you process like this!") and query processed data ("what was the result of that?") using python?</p>
  
  <p>I read somewhere that named pipes might work, but don't know that much about named pipes, especially in python - and whether there are any better alternatives.</p>
  
  <p>Both the background service daemon AND the frontend will be programmed by me, so all options are open :)</p>
  
  <p>I am using Linux.</p>