Skip to content Skip to sidebar Skip to footer

Use Of Node-python To Execute Python Scripts From Web Application Hosted Under Python?

I've written python scripts for some numerical analysis topics and so I want to plot them in a nice way using any Java Script library. So, I got to know about python-node and they

Solution 1:

That example show how to use import and call functions.

Try following:

var python = require('node-python');
var script = python.import('your_script_module_name');

script.your_function(argument1, argument2)

Post a Comment for "Use Of Node-python To Execute Python Scripts From Web Application Hosted Under Python?"