will help you Running Python on the brick itself is probably hard (for the reason others already stated - size of the interpreter, available RAM on the brick for example) but this might be of interest: According to this thread you should be able to use pylnp (remote) combined with BrickOS (on the brick; formerly legOS).
What is the difference between the Lego Mindstorms 1.0 and 2.0
By : user1926217
Date : March 29 2020, 07:55 AM
I think the issue was by ths following , I've done a bit more research and from what I can determine there is no difference in the NXT hardware from the 1.0 and 2.0 kits. The NXT provided with the 2.0 kit uses firmware v1.28 which can be downloaded from the Lego website for free and can also be installed on the NXT which comes with the 1.0 kit making them identical.
I think the issue was by ths following , If you can use http://www.ev3dev.org/ as an alternative firmware, you can install and run node.js on the ev3. ev3dev is a debian linux based distribution and offers a wide range of packages. One catch you will be stuck a node.js-0.10, since newer node.js (0.12) versions use a newer version of v8 (js engine) and that does not support the old arm-9 that runs the ev3 anymore (or more precisely it now requires vfp-3 that only arm-v7 cpus have).
Hope that helps I found out: Hold the back button, left button, and center button. When the screen goes blank release the back button. If you're using the official LabView, you can just press the back button. This doesn't work when you use c4ev3.