Some experimentation with python