Playing with the Python standard lib