Python computational modelling