title: how to write to shared memory in python from stream?
body: <p>I have a processes from several servers that send data to my local port 2222 via udp every second.</p>
  
  <p>I want to read this data and write it to shared memory so there can be other processes to read the data from shared memory and do things to it.</p>
  
  <p>I've been reading about <code>mmap</code> and it seems I have to use a file... which I can't seem to understand why.</p>
  
  <p>I have an <code>a.py</code> that reads the data from the socket, but how can I write it to an shm?</p>
  
  <p>Once once it's written, I need to write <code>b.py</code>, <code>c.py</code>, <code>d.py</code>, etc., to read the very same shm and do things to it.</p>
  
  <p>Any help or snippet of codes would greatly help.</p>