<br><br><div><span class="gmail_quote">On 8/3/07, <b class="gmail_sendername">kirby urner</b> &lt;<a href="mailto:kirby.urner@gmail.com">kirby.urner@gmail.com</a>&gt; 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 &lt;<a href="mailto:mtobis@gmail.com">mtobis@gmail.com</a>&gt; wrote:<br>&gt; Thanks, Dethe, that&#39;s very nice, and also thanks for your signature,<br>&gt; which is thought provoking indeed.<br>
&gt;</blockquote><div><br>Yes, thanks Dethe.&nbsp; 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!&nbsp;&nbsp; I just need to experiment a bit more...
<br>&nbsp;</div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">&gt; Does anyone agree with me about the didactic value of this change?<br>&gt;
<br>&gt; 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 &quot;How to think like a computer scientist&quot;.&nbsp; :-) :-)
<br><br>&nbsp;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&#39;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:&nbsp;&nbsp;this article suggests not confusing REPL with &quot;an<br>interpreter&quot; 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&#39;d still get the &quot;hook&quot; with newbies without the automatic echoing that Michael describes.
<br>&nbsp;</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.&nbsp; It wasn&#39;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>&nbsp;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>