Python in the browser by Python
JavaScript CSS Python Shell
Clone or download
Pull request Compare This branch is 854 commits behind PythonJS:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bindings
demo
django-demo
doc
pythonscript
runtime
tests
.gitignore
COPYING
Makefile
README.rst
pythonscript.js
setup.py

README.rst

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