Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

kzfm/PythonScript

Open more actions menu
 
 

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%
Morty Proxy This is a proxified and sanitized view of the page, visit original site.