<br><br><div><span class="gmail_quote">On 8/3/07, <b class="gmail_sendername">kirby urner</b> <<a href="mailto:kirby.urner@gmail.com">kirby.urner@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 8/3/07, Michael Tobis <<a href="mailto:mtobis@gmail.com">mtobis@gmail.com</a>> wrote:<br>> Thanks, Dethe, that's very nice, and also thanks for your signature,<br>> which is thought provoking indeed.<br>
></blockquote><div><br>Yes, thanks Dethe. And your pointer about sys.displayhook may be just what was needed so that I could embed IPython as an alternative shell within Crunchy - without interfering with the other shells! I just need to experiment a bit more...
<br> </div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">> Does anyone agree with me about the didactic value of this change?<br>>
<br>> mt</blockquote><div><br>Well, I do - I had to explain this very difference between the behaviour of the interpreter and that of an editor [inside Crunchy :-)] to my son last week; I managed to get him started on "How to think like a computer scientist". :-) :-)
<br><br> How would you call that mode to distinguish it from the standard interpreter, and warning your students that this is a non-standard implementation?<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
If you put duct tape over the snake's mouth in shell mode,<br>students might discover they miss the REPL, which helps<br>motivate a sense of why so many successful languages<br>(LISP, Scheme, APL, J... xBase) have such a mode.
<br><br><a href="http://en.wikipedia.org/wiki/REPL">http://en.wikipedia.org/wiki/REPL</a><br><br>(note: this article suggests not confusing REPL with "an<br>interpreter" citing Python in particular).<br><br>Asked what about Python most drew them in, many newbies
<br>cite shell mode (e.g. iPython, IDLE, PyCrust, DrPython or whatever).</blockquote><div><br>Kirby got a good point - however, I think that you'd still get the "hook" with newbies without the automatic echoing that Michael describes.
<br> </div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">-- Kirby<br><br>Another project in the Crunchy genre?<br><a href="http://projects.amor.org/misc/wiki/HTTPREPL">
http://projects.amor.org/misc/wiki/HTTPREPL</a></blockquote><div><br>Crunchy 0.1 was very much inspired by this same project from Robert Brewer - the original code built on that example. It wasn't until version 0.3, I believe, that Johannes Woolard removed the CherryPy dependency (
<a href="http://pytute.blogspot.com/2006/05/progress-so-far.html">http://pytute.blogspot.com/2006/05/progress-so-far.html</a>) allowing Crunchy to evolve significantly since.<br><br> André</div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
_______________________________________________<br>Edu-sig mailing list<br><a href="mailto:Edu-sig@python.org">Edu-sig@python.org</a><br><a href="http://mail.python.org/mailman/listinfo/edu-sig">http://mail.python.org/mailman/listinfo/edu-sig
</a><br></blockquote></div><br>