Bruno Desthuilliers wrote:
> If all your helper functions are really methods of the Interface
> instance, you may try this instead (NB : not tested):
>
> glob = {
> 'i': i,
> 'f1': i.whatever,
> }
> exec script in glob
Bruno,
Thanks for replying.
Some of the functions are as simple a
Graham Menhennitt a écrit :
> I have a large Python 2.5 program that I want my users to be able to
> "extend" using a Python script. However, I want their script to run in a
> sandbox within the overall program so that they only have access to the
> rest of the program via a single simple interf
I have a large Python 2.5 program that I want my users to be able to
"extend" using a Python script. However, I want their script to run in a
sandbox within the overall program so that they only have access to the
rest of the program via a single simple interface. Note that this is not
meant to