I'm thinking about how this would change my niece's learning path.
Obviously it would omit things like argv, files, the os module. I've seen working with IO to be extremely valuable. She was able to quickly write fill in the blank form letters and simple interactive scripts. But there is plenty one can do with just print and loops.
Unfortunately I see that raw_input(), dir(), and __builtin__ all raise problems. My niece was extremely excited to find out about all the 'hidden' objects that she could play with.
sorry, those modules were omitted due to obvious security concerns ;) raw_input() sounds like something reasonable to include, though, since it could simply pop up a text box and ask the user to input a string. please email me if you have other suggestions for how to improve this app. thanks!
I support your idea of supporting raw_input through a pop up. You may run into problems with the browser supporting them. For one thing it will not be the result of a user action. If it isn't an acceptable experience, perhaps a dynamic inline form in the "output"?