cube2py does that. http://code.google.com/p/cube2py/source/browse/models/plugin_wiki.py?r=1a9307c63a03ff17d70ea57e946cabf3dae4cc57#497
On Dec 27, 12:56 pm, mattynoce <[email protected]> wrote: > bump. any thoughts on running code stored in the db through the web2py > interpreter? > > On Dec 23, 3:17 pm, mattynoce <[email protected]> wrote: > > > hi all. i know this doesn't sound like a superb idea, but i may have > > to do something like it. > > > i have data coming from the db and being displayed to the user as > > instructions. "do this," "go there," etc. > > > i'd like to have that data executed in the environment, so i could say > > "do this, {{=user.first_name}}." but when i say > > {{=XML(instruction.step)}} it spits out the raw text but doesn't > > execute it. > > > this only happens for db info that we put in, no user data. is there a > > way to run it through the web2py interpreter before displaying it to > > the user? > > > thanks, and happy holidays. > > > matt > >

