current working nxt python code