painting with python