More work on python code, I also worked on methods to send data.