Inter process communication between reader and writer process — Python

process communicating internally