Python on the Web

This is CPython, the standard Python implementation, compiled from C to JavaScript using Emscripten, running in your browser (without any plugins). It is both a tech demo and also a usable tool, for example, to assist in teaching people Python by just visiting a website (instead of installing Python locally).

Notes:


Enter some Python:
import sys print 'Hello %s, here are some numbers:' % raw_input('What is your name?'), [2*x for x in range(5)][:4] print 'This is Python {} on {}'.format(sys.version, sys.platform)