Non-secure execution environment

Aaron Brady castironpi at
Fri Apr 17 18:24:05 CEST 2009

On Apr 17, 11:19 am, roge... at wrote:
> On Apr 17, 7:06 am, Aaron Brady <castiro... at> wrote:
> > It depends what you mean by secure environment.  One option is to
> > create a subprocess, to just limit access your variables.  Another is
> > to compile and examine their code yourself, and prohibit things like
> > access to the file class, the os module, etc.
> I actually need *non-secure* execution environment. I just want
> several independent ones.
> Gennadiy

Oh.  Ken gave you a good answer then.  You can also check out the
'subprocess' and 'multiprocessing' modules.  Any closer?

More information about the Python-list mailing list