A python version of demonstrate