source code of /small-scripts/school-stuff/wilmahomework.brain

Last modified
Lines 18
Indexable No

Parent directory Download CGIread sitemap Main page

Quick links: (none)

  1. #!/usr/bin/python
  2. import homework
  3. import sys
  4. import os
  5. import leetfool
  6. leetfool.assertuid(filename='/var/www/wilmahomework.setuid')
  7. new_homework = ' '.join(sys.argv[2:])
  8. homework.add_homework(
  9.     None,
  10.     sys.argv[1].rstrip('0123456789.'),
  11.     new_homework,
  12.     'Wilma'
  13. )