pyscript
v1.0.6
Published
A JavaScript library that includes functions that act as close as possible to the Python counterparts
Downloads
116
Readme
Pyscript
A JavaScript library that includes functions that act as close as possible to the Python counterparts
Usage
Downloading the code:
Import everything as a name you picked (preferably Pyscript)
import * as Pyscript from "./path/to/pyscript";
console.log(Pyscript);or import specific functions
import { range } from "./path/to/pyscript";
console.log(range(10, 20, 2));Using the package:
Install using npm:
npm install pyscriptInstall using yarn:
yarn add pyscriptUsage:
I have no idea why it's like this. I'm a noob.
import { Pyscript } from "pyscript";
console.log(Pyscript);