Driving the trials in Python