Tuesday, 3 March 2020

Is it possible to communicate between a web page and a python script using Node.js?

Hello,Currently, I can individually run a web page and a python script through a node server. Problem is that, I want them to communicate.Like the Python script would generate a value. That value should be read by the web page and should be displayed on the web page on the non editable input box. After 5 seconds, again the script will generate a value, which will be updated in the input box.Can this even be achieved? Has anyone ever done this before?I have chosen to use NodeJS cause I need pdfmake (https://www.npmjs.com/package/pdfmake) to generate PDF report of all the data that will be generated by the Python script.

Submitted March 03, 2020 at 12:19PM by lulzintosh123

No comments:

Post a Comment