Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
@AGAMPREET SINGH Thanks for reaching out. If you deploy your Node js Web app/Web Api with Windows as operating system, then You can use the site extensions to add the python extension and to run the python script from your kudu console. I have tested this in my local environment it is working fine.
Here is the reference document for more information about Azure Site Extensions.
Feel Free to reach back to me if you have any further questions.
Please 'Accept as answer' and ‘Upvote’ if it helped so that it can help others in the community looking for help on similar topics.