A python engine