Vous pouvez utiliser python avec node.js
python-runner.js
var Python = require("python-runner");
 
Python.exec(
	"print('Carma Carpooling')" + "\n" + 
	"print('Get there together')" + "\n"
	//Carma Carpooling
	//Get there together
)
.then(function(data){
	console.log(data);
});
Vous pouvez également utiliser python3 ou l'exécuter à partir d'un fichier .py
Recommended Posts