Tree operations in Python

Have you changed the input to tree access?