more python nxt code