Messing about with Python