python editing customisations