Code sample of dumb communication using Python