On Apr 17, 11:19 am, roge...@gmail.com wrote: > On Apr 17, 7:06 am, Aaron Brady <castiro...@gmail.com> wrote: snip > > 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? -- http://mail.python.org/mailman/listinfo/python-list