automatically grading small programming assignments
Paddy
paddy3118 at netscape.net
Thu Dec 14 21:45:48 EST 2006
Brian Blais wrote:
> commander.coder at hotmail.com wrote:
> > bearophileHUGS at lycos.com wrote:
> > Then on your PC you can
> >> run a script that loads each of such programs, and runs a good series
> >> of tests, to test their quality...
> > What happens if someone-- perhaps not even someone in the class-- does
> > some version of os.system('rm -Rf /') ?
> >
>
> I was thinking of including a dummy os.py and sys.py, so import os, and import sys
> would fail. Would this work? Is there anything else obvious. I can have student
> authentication, that's not a problem.
Setting up a Crunchy server in a virtualized OS environment would give
you some security.
- Paddy.
More information about the Python-list
mailing list