Messing around in Python