run-python3

0.0.5 • Public • Published

run-python3

npm version

The name of the Python 3 executable is python on Windows, but python3 everywhere else (don't ask why). This makes it a hell to run a Python 3 script from package.json scripts. This package introduces the run-python3 command that runs the correct Python 3 executable on all platforms.

How to use?

Install the package.

npm install run-python3

Use it in package.json scripts:

...
"scripts": {
    "command": "run-python3 my_cool_python_script.py"
},
...

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i run-python3

    Weekly Downloads

    154

    Version

    0.0.5

    License

    MIT

    Unpacked Size

    2.9 kB

    Total Files

    5

    Last publish

    Collaborators

    • kovacsv