Wednesday, May 10, 2006

Crunchy Frog 0.3

Version 0.3 of "Crunchy Frog" has been released. It can be found at

Crunchy Frog transforms a "traditional" Python tutorial into an interactive session within your favourite web browser. Four modes of interaction are currently possible:
1. One-liner, similar to the typical instruction at the Python interpreter.
2. Embedded Python shell, within an html page.
3. Multi-line Python code, as entered in a traditional editor, and executed by Python.
4. Solutions to doctests, as described by Jeff Elkner in a post on edu-sig.

Even though it is an early release, Crunchy Frog could probably already be useful in a classroom situation. To use it, you will also need to have installed Elementtree and CherryPy.

Suggestion: read the 6 page long "tutorial" included, using your favourite browser. Then, start Crunchy Frog, and go through the tutorial again. The whole thing should be doable in approximately 15 minutes ... if you don't spend too much time playing with the interpreter. :-)


George Wright said...

I installed Crunchy Frog 0.3 and ran the included tutorial. Really liked the DocTest approach. It forced me to write my own programs that would produce the desired results . Up to now I had contented myself with simply reading and understanding other people's programs. I need more python tutorials like this. Where can I find them?

André Roberge said...

@George Wright: As far as I know, there aren't any ... yet. There has been some discussion on the edu-sig list of writing such tutorials, which is one of the reasons I included this feature in Crunchy Frog. Hopefully, there will be some written soon.