- dependency
Python 2.7
- documentaiton
- try
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.
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à!