node-communication in python (unfinished)