What about using available libraries like mpi4py or pyparallel?
I heard they are easy to implement, specially mpi4py.