A JavaScript library that includes functions that act as close as possible to the Python counterparts
npm install pyscript#### A JavaScript library that includes functions that act as close as possible to the Python counterparts
Import everything as a name you picked (preferably Pyscript)
``js
import * as Pyscript from "./path/to/pyscript";
console.log(Pyscript);
`
or import specific functions
`js
import { range } from "./path/to/pyscript";
console.log(range(10, 20, 2));
`
#### Install using npm:
``
npm install pyscript
#### Install using yarn:
``
yarn add pyscript
#### Usage:
I have no idea why it's like this. I'm a noob.
`js
import { Pyscript } from "pyscript";
console.log(Pyscript);
``
#### Shoot us a pull request and we will review changes right away
#### If something doesn't work as intended for you Python programmers feel free to open an issue.
#### This bad crappy code is licensed under the MIT license thingy
#### This code is crappy and some things in Python just can't be implemented into JavaScript :'(