Dan Bishop wrote: > On Dec 14, 8:36 pm, Brian Blais <[EMAIL PROTECTED]> wrote: >> [EMAIL PROTECTED] wrote: >>> [EMAIL PROTECTED] 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? > > How would they access their command-line arguments without sys.argv? >
the types of assignments that I am envisioning (finding the maximum in a list, parsing strings, etc.) will not need anything offered in os or sys. Certainly, if they were needed, another solution would need to be found. bb -- ----------------- [EMAIL PROTECTED] http://web.bryant.edu/~bblais -- http://mail.python.org/mailman/listinfo/python-list