I need to call this python script in NodeJs. Read.py I used python-shell, here is the NodeJs code for that Test.js But when I ran this code I didn’t see anything in Node side. I think problem occurs when python script comes to this level. Because I just ran with while loop which has only print statement then it works.