Pass message to python