[Edu-sig] DocTest Quiz: working local solution!

Andre Roberge andre.roberge at gmail.com
Sat Apr 29 10:03:20 CEST 2006


On 4/23/06, Jeffrey Elkner <jeff at elkner.net> wrote:
> On Sat, 22 Apr 2006 18:00:27 -0500, Michael Tobis <mtobis at gmail.com> wrote:
> >I think I've got a realistic design for a doctest-driven beginners'
> >programming courseware suitable for presenting HHTLCSpy - type
> >materials that can be put together in a week or so with my level of
> >skill. (Or a half-day if I let Ian B in on it... ) That week probably
> >won't happen before early June, but I think I'll have something of
> >immediate interest to you early enough in the summer that we can
> >develop real curriculum in time for next fall.
>
> Thanks, Michael!  I've written up a brief description of the tool I'm looking for here:
>
> http://dc.ubuntu-us.org/projects/doctest-quiz.php
>
> and a briefer launchpad spec here:
>
> https://launchpad.net/products/cando/+spec/doctest-quiz

For those interested, you will find attached a simple app that
essentially does what Jeff described, albeit entirely on a single
computer. (Thus, if you can run Python on that machine, you can run it
via a web browser without sandboxing).

It requires CherryPy.

Here's what is required:
1. Download and install CherryPy.  http://www.cherrypy.org/
2. Save doctestquiz.py in the tutorial directory that comes with
cherrypy (so you can use the default configuration file).
3. Run doctestquiz
4. Point your browser to http://localhost:8080/index
5. Have fun!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: doctestquiz.py
Type: text/x-python
Size: 3115 bytes
Desc: not available
Url : http://mail.python.org/pipermail/edu-sig/attachments/20060429/21fb0e53/attachment.py 


More information about the Edu-sig mailing list