Use knewtons python