Some python little thingies from a python beginner