XadillaX / detect-python-interpreter

Detect the executable python interpreter cmd in $PATH.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

detect-python-interpreter

Detect the executable python interpreter cmd in $PATH.

Installation

$ npm install --save detect-python-interpreter

Usage

const { detect } = require('detect-python-interpreter');

const executable = detect();  // 'python', 'python2', 'python3' or throw an Error.

Contribution

PRs and Issues are welcomed.

About

Detect the executable python interpreter cmd in $PATH.

License:MIT License


Languages

Language:JavaScript 100.0%