<div>Hi</div>
<div>&nbsp;</div>
<div>Do I have to intall CherryPy and how.</div>
<div>&nbsp;</div>
<div>From&nbsp; where do I run the setup program when running in Windows XP.</div>
<div>&nbsp;</div>
<div>Thanks in advance</div>
<div>&nbsp;</div>
<div>Catherine<br><br>&nbsp;</div>
<div><span class="gmail_quote">On 5/5/06, <b class="gmail_sendername">Andre Roberge</b> &lt;<a href="mailto:andre.roberge@gmail.com">andre.roberge@gmail.com</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Version 0.2 of Crunchy Frog is ready to be released.<br><br>After refactoring the code in a major way, I have been able to
<br>implement *almost* all the non-graphical features I was hoping for.<br><br>The code should now be very easy to understand, if you have some<br>familiarity with CherryPy and ElementTree.<br><br>Unfortunately, sourceforge appears to have been down for a while, so I
<br>haven't been able to upload it.&nbsp;&nbsp;If you want to try it, and can`t find<br>it on sourceforge, feel free to contact me by email and I'll send you<br>a copy.&nbsp;&nbsp;The updated 5 html files and 3 Python files fit in less than<br>
10 kB (zip file).<br><br>When you enter some Python code in an &quot;editor area&quot; and have Python<br>execute the code, the code no longer disappear from the &quot;editor area&quot;.<br>This is the most important improvement, from a usability point of
<br>view.<br><br>You can now also have an arbitrary combination of 'fake interpreter<br>prompt', 'editor area' and 'DocTest areas' on a single page.<br><br>The code that takes care of the execution of the user code has been
<br>extracted and put in a small module on its own.&nbsp;&nbsp;Therefore, whenever<br>one develops a &quot;Python sandbox&quot;, it will be extremely simple to make<br>use of it.<br><br>There are three main features left to implement:
<br><br>1. add the possibility to load &quot;non-local&quot; html files.&nbsp;&nbsp;This might be<br>as easy as adding a couple of lines of code, using a module like<br>urllib.&nbsp;&nbsp;When I figure out how to do that, I'll be pestering authors
<br>of existing Python tutorials to adapt them for use with Crunchy Frog<br>;-)<br><br>2. Fix a major annoyance for &quot;long&quot; pages: at present, when executing<br>a code snippet, the page gets reloaded at the very top, even if the
<br>&quot;editor area&quot; or &quot;fake interpreter prompt&quot; was at the bottom of the<br>page.&nbsp;&nbsp;I haven`t been able to find out how to do this using CherryPy.<br><br>3. Being able to navigate in an arbitrary directory structure.&nbsp;&nbsp;Up
<br>until now, I have had problems if the html files were not all in a<br>single directory.<br><br>There are a few other features (like saving a session) that I would<br>like to ideally fix before version 1.0.<br><br>The usage I make of CherryPy appears to be extremely minimal.&nbsp;&nbsp;I
<br>suspect that someone familiar with web programming using the standard<br>library would be able to reproduce what I did without too much<br>programming efforts.&nbsp;&nbsp;If anyone has any pointers as to how I could do<br>this, I would appreciate it.
<br><br>As usual, any feedback including strong criticisms are welcome!<br><br>André<br><br>On 5/4/06, Andre Roberge &lt;<a href="mailto:andre.roberge@gmail.com">andre.roberge@gmail.com</a>&gt; wrote:<br>&gt; Version 0.1 of Crunchy Frog has been released.&nbsp;&nbsp;It can be found at
<br>&gt; <a href="https://sourceforge.net/project/showfiles.php?group_id=125834">https://sourceforge.net/project/showfiles.php?group_id=125834</a><br>&gt;<br>&gt; Crunchy Frog allows to transform a &quot;traditional&quot; Python tutorial into
<br>&gt; an interactive session within your favourite web browser.&nbsp;&nbsp;Three<br>&gt; &quot;modes&quot; of interaction are currently possible:<br>&gt; 1. one-liner, similar to the typical instruction at the Python interpreter.
<br>&gt; 2. multi-line Python code, as entered in a traditional editor, and<br>&gt; executed by Python.<br>&gt; 3. Solutions to doctests, as described by Jeff Elkner in a previous post.<br>&gt;<br>&gt; Crunchy Frog is more of a proof-of-concept than a serious application
<br>&gt; at this point. The code is rather messy, showing my total lack of<br>&gt; experience with this type of program (web app).&nbsp;&nbsp;To use it you will<br>&gt; also need to have installed Elementtree (included with Python 
2.5?)<br>&gt; and CherryPy.&nbsp;&nbsp; You do not need to install Crunchy Frog.<br>&gt;<br>&gt; To try it: read the 5 (short) pages long &quot;tutorial&quot; included, using<br>&gt; your favourite browser.&nbsp;&nbsp;Then, start Crunchy Frog, and go through the
<br>&gt; tutorial again.&nbsp;&nbsp;The whole thing should be doable in less than 10<br>&gt; minutes.<br>&gt;<br>&gt; André<br>&gt;<br>_______________________________________________<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>