title: Inter-process communication for python
body: <p>I'm having a problem creating a inter-process communication for my python application. I have two python scripts at hand, let's say A and B. A is used to open a huge file, keep it in memory and do some processing that Mysql can't do, and B is a process used to query A very often. </p>
  
  <p>Since the file A needs to read is really large, I hope to read it once and have it hang there waiting for my Bs' to query. </p>
  
  <p>What I do now is, I use cherrypy to build a http-server. However, I feel it's kind of awkward to do so since what I'm trying to do is absolutely local. So, I'm wondering are there other more organic way to achieve this goal?</p>
  
  <p>I don't know much about TCP/socket etc. If possible, toy examples would be appreciate (please include the part to read file). </p>