why there is no pythonscript insine web browsers?

cyberco cyberco at gmail.com
Tue Nov 13 16:59:08 EST 2007


> > That is, why not just have a Python interpreter and some safe subset
> > of the Python standard library run with the browser? I mean, aside
>
>         It's not just the library (at a start you'd need to strip out
> modules os, popen, and subprocess), but you'd also need to block out
> exec, eval() (and by extension, input() ) from the interpreter core.
> Might need to do nasty things to the low-level import mechanism

I'm not sure how many modules you need at all. Just being able to use
Python's syntax to control the webpage and parts of the browser would
be a huge win in my eyes.

2B




More information about the Python-list mailing list