kzfm / PythonScript

Python in the browser by Python

Home Page:http://apppyjs.appspot.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

http://apppyjs.appspot.com/

License:GNU Lesser General Public License v2.1


Languages

Language:JavaScript 91.6%Language:Python 7.6%Language:Shell 0.5%Language:Ruby 0.2%