[Python-ideas] Summer of Code Project Idea: Python Apps in the Browser

Guido van Rossum guido at python.org
Fri Aug 26 02:45:16 CEST 2011

Maybe it would be possible to use HTM5's sqlite storage?

On Thu, Aug 25, 2011 at 3:45 PM, Raymond Hettinger
<raymond.hettinger at gmail.com> wrote:
> The http://gumbyapp.com/ project succeeded in getting Python to run in the
> browser but it can't import pure python modules (because there is no
> filesystem in the browser).
> I think it would be wonderful to beef-up this project by bundling-in the
> rest of the standard library.  Gumby was built by compiling CPython to LLVM
> and then generating Javascript.  ISTM it would be possible to write a script
> to transform pure python standard library modules into C strings that could
> also be part of the final build.  The import-statement would have to be
> hooked to search for the C string instead of a physical file.
> If that technique works, it may not be hard to extend it so that user
> defined python modules could also be incorporated.  If so, it would become
> possible to create standalone Python apps that run in the browser.   The
> process is likely to be inefficient, but the gumbyapp site shows that it
> might be good enough for some purposes.
> Raymond
> _______________________________________________
> Python-ideas mailing list
> Python-ideas at python.org
> http://mail.python.org/mailman/listinfo/python-ideas

--Guido van Rossum (python.org/~guido)

More information about the Python-ideas mailing list