eToys for python
Tuesday, September 23rd, 2008What would be really cool would be a framework similar to eToys for python.
I’m thinking the basic user interface would be a open field, with icons at the top for file -> open,save,quit and add -> shape,picture,etc. It’d start out being similar to MS Paint or another drawing tool, possibly with handles around the objects like eToys, and then you could add actions to objects.
Actions would be methods that were dynamically added to the objects. Objects would have standard properties such as speed, heading, x and y, etc. Code could possibly generated by dragging and dropping tiles, it would be nice to be able to convert from code back to tiles or just have the tiles drop “snippets” into the method.
Of course, code for classes and initialization of the worlds current state should be generated and saved (probably should look to see how pythoscope does this.) You could also save the world as a pickle, but I think being able to open the code in a text editor would be a good way to introduce more traditional ways of coding.
One of the goals would be as simple as possible, so no built in network capability, should be portable (runnable off of thumb drive, distributable as an egg or py2exe zip file). Interoperate with other tools (GIMP, animations, text editors.)



