I have not much idea but Online Judges like SPOJ/codechef have regular programming-contests and python is one of allowed languages. So yes, it's possible. If I guess right, are you making an Online Judge for python.
On Thu, Jun 3, 2010 at 8:39 PM, Amit Sethi <amit.pureene...@gmail.com>wrote: > Hi , > > I wish to execute some user submitted python code and have absolutely > no other way out . I saw that there used to be a module called rexec > which could define which modules can be imported and which cannot > however exec doesn't have that kind of feature . Please if you could > tell me what would the best possible ways of sandboxing python code . > -- > A-M-I-T S|S > -- > http://mail.python.org/mailman/listinfo/python-list >
-- http://mail.python.org/mailman/listinfo/python-list