Node.js is written on c++, and is build on GYP. GYP is a Meta-Build system: a build system that generates other build systems and help us to build the large project that needs multiple platform to build. GYP is developed and written using Python, so to build and run few modules of Node.js we need Python.
Therefore wherever we need node-gyp to build any node module, Python will be required.