How to use the python-shell.defaultOptions function in python-shell

To help you get started, we’ve selected a few python-shell examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github extrabacon / pyspreadsheet / index.js View on Github external
var path = require('path');
var PythonShell = require('python-shell');
PythonShell.defaultOptions = {
    scriptPath: path.join(__dirname, 'python')
};

exports.SpreadsheetReader = require('./lib/spreadsheet-reader');
exports.SpreadsheetWriter = require('./lib/spreadsheet-writer');

python-shell

Run Python scripts from Node.js with simple (but efficient) inter-process communication through stdio

MIT
Latest version published 2 years ago

Package Health Score

64 / 100
Full package analysis