Messing around with Inter-process-communication in Python