Brian Blais, just an idea. Create an online form to upload the tiny program(s). Such programs can be one for file. 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... Such tests can be about all things, speed, coding quality, that the results are correct, etc. You can even put some way to autenticate students... (BTW, good students don't cheat. Cheating isn't a good way to learn to program, and they probably know this).
Bye, bearophile -- http://mail.python.org/mailman/listinfo/python-list