<div>Hi</div>
<div> </div>
<div>Do I have to intall CherryPy and how.</div>
<div> </div>
<div>From where do I run the setup program when running in Windows XP.</div>
<div> </div>
<div>Thanks in advance</div>
<div> </div>
<div>Catherine<br><br> </div>
<div><span class="gmail_quote">On 5/5/06, <b class="gmail_sendername">Andre Roberge</b> <<a href="mailto:andre.roberge@gmail.com">andre.roberge@gmail.com</a>> 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. 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. 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 "editor area" and have Python<br>execute the code, the code no longer disappear from the "editor area".<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. Therefore, whenever<br>one develops a "Python sandbox", 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 "non-local" html files. This might be<br>as easy as adding a couple of lines of code, using a module like<br>urllib. 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 "long" pages: at present, when executing<br>a code snippet, the page gets reloaded at the very top, even if the
<br>"editor area" or "fake interpreter prompt" was at the bottom of the<br>page. 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. 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. 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. 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 <<a href="mailto:andre.roberge@gmail.com">andre.roberge@gmail.com</a>> wrote:<br>> Version 0.1 of Crunchy Frog has been released. It can be found at
<br>> <a href="https://sourceforge.net/project/showfiles.php?group_id=125834">https://sourceforge.net/project/showfiles.php?group_id=125834</a><br>><br>> Crunchy Frog allows to transform a "traditional" Python tutorial into
<br>> an interactive session within your favourite web browser. Three<br>> "modes" of interaction are currently possible:<br>> 1. one-liner, similar to the typical instruction at the Python interpreter.
<br>> 2. multi-line Python code, as entered in a traditional editor, and<br>> executed by Python.<br>> 3. Solutions to doctests, as described by Jeff Elkner in a previous post.<br>><br>> Crunchy Frog is more of a proof-of-concept than a serious application
<br>> at this point. The code is rather messy, showing my total lack of<br>> experience with this type of program (web app). To use it you will<br>> also need to have installed Elementtree (included with Python
2.5?)<br>> and CherryPy. You do not need to install Crunchy Frog.<br>><br>> To try it: read the 5 (short) pages long "tutorial" included, using<br>> your favourite browser. Then, start Crunchy Frog, and go through the
<br>> tutorial again. The whole thing should be doable in less than 10<br>> minutes.<br>><br>> André<br>><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>