finished python test script