Communicating Between Processes Python Code Generator