a few small fun things with python