Skip to content

kzfm/PythonScript

 
 

Repository files navigation

PythonScript

dependency

Python 2.7

documentaiton

PythonScript

try

apppyjs

Kesaco

A Python to Javascript translator in Python. It converts a subset of Python to a subset of Javascript, making availabele enough Javascript in Python to do many things useful among which (at least I think) a full Python interpreter.

Getting started

First:

sudo pip install pythonscripttranslator

Write some Python then:

pythonscript < app.py > app.py.js

Then copy pythonscript.js from github to your project added both files as scripts of your page and voilà!

Demos

See also

About

Python in the browser by Python

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 91.7%
  • Python 7.6%
  • Other 0.7%