473,803 Members | 3,159 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Crunchy release 0.9.1

Crunchy 0.9.1 has been released. It is available at
http://code.google.com/p/crunchy

Note that, if you have downloaded version 0.9 or version 0.9.0.1
you likely will not need to download this latest version.

What is new since version 0.9?

* Possibility to log selectively part of a session (as instructed by a
tutorial *writer* such as a teacher who may want to evaluate
students).
This experimental feature is the main reason to have a new release
and is of potential interest for Python instructors/teachers.

* Bug fix (0.9.0.1): Output containing <....was not displayed in
version 0.9

* Support for generation of image files is now done through threads
(rather than subprocess) and addition of a "load image" button, which
prevents from having to generate the image twice.

* A windows installer version is available.

* Minor experimental cosmetic additions.

* Improved "readme" file.

Bug reports, comments and suggestions are always welcome.

André, for the Crunchy team.

=============== =======

What is Crunchy?

Crunchy is a an application that transforms html Python tutorials into
interactive session viewed within a browser. We are not aware of any
other application (in any language) similar to Crunchy. Currently
Crunchy has only been fully tested with Firefox; we know that some
browsers simply don't work with it. Crunchy should work with all
operating systems - it has been tested fairly extensively on Linux,
Windows and Mac OS.

What is new since a few months ago?

Crunchy has been rewritten from scratch from the previous version
(0.8.2), to use a custom plugin architecture. This makes easier to
extend and add new functionality. Rather than list the differences
with the old release, it is easier to list the essential features of
this new version.

1. Crunchy can work best with specially marked-up html tutorials.
However, it can now work with any html tutorials - including the
official Python tutorial on the python.org site. Html pages can be
loaded locally or remotely from anywhere on the Internet. Crunchy
uses a combination of Elementtree and BeautifulSoup to process html
pages. Non W3C-compliant pages can be handled, but the visual
appearance is not guaranteed to reproduce that normally seen using a
browser.

2. Crunchy can insert a number of Python interpreters inside a web
page. In the default mode, it does that whenever it encounters an
html <preelement which is assumed to contain some Python code.
These interpreters can either share a common environment (e.g. modules
imported in one of them are known in the other) or be isolated one
from another.

3. Crunchy adds automatic css styling to the Python code - you can
look at the official Python tutorial using your browser (all Python
code in blue) and compare with what Crunchy displays to give you a
good idea.

4. Instead of inserting an interpreter, Crunchy can insert a code
editor that can be used to modify the Python code on the page and
execute it. The editor can be toggled to become a fairly decent
syntax aware editor that can save and load files.

5. Crunchy has a "doctest" feature where the code inside the <preis
taken to be the result
of an interpreter session and the user has to write the code so as to
make the interpreter session valid; this is useful in a teaching
environment. Messages from the Crunchy's doctest are "friendlier " for
Python beginners than the usual tracebacks.

6. Crunchy has a small graphics library that can be imported, either
inside an editor or an interpreter, to produce simple graphics (even
animations!) inside the browser.

7. For the user that needs better quality graphics, Crunchy supports
programs (such as matplotlib) that can create image files; by
executing the code, the image produced is loaded inside the browser
window. In this capacity, Crunchy could be used as a front end for
libraries such as matplotlib.

8. Crunchy supports code execution of files as separate processes,
making it suitable to launch gui based application from the browser
window.

9. Crunchy's interpreter has an interactive "help" feature like many
python-aware IDEs.

10. Crunchy includes a fairly comprehensive tutorial on its own use,
as well as a reference for tutorial writers that want to make their
tutorials "crunchy-friendlier".

11. As a security feature, crunchy strips all pre-existing javascript
code from an html page before displaying it inside the browser window.

Jul 13 '07 #1
0 1097

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1289
by: Anthony Baxter | last post by:
On behalf of the Python development team and the Python community, I'm happy to announce the release of Python 2.3.5 (release candidate 1). Python 2.3.5 is a bug-fix release. See the release notes at the website (also available as Misc/NEWS in the source distribution) for details of the bugs squished in this release. Assuming no major problems crop up, a final release of Python 2.3.5 will follow in about a week's time.
0
1376
by: jwoolard | last post by:
Version 0.7 of Crunchy has been released. It is available on Sourceforge (http://sourceforge.net/project/showfiles.php?group_id=169458) Crunchy, the Interactive Python Tutorial Maker, is an application that transforms an ordinary html-based Python tutorial into an interactive session within a web browser. Currently, only Firefox is supported. Crunchy is developed and tested on Windows XP and Ubuntu Dapper Drake, but should work on any...
1
2999
by: kurt sune | last post by:
I am having trouble publishing a website for RELEASE. 1. web.config: <compilation defaultLanguage="vb" debug="false"> 2. in Configuration manager I set the configuration to Release for the website 3. in Configuration manager I set the Active solution configuration to Release
3
1374
by: =?iso-8859-1?B?QW5kcuk=?= | last post by:
Version 0.8 of Crunchy has been released. It is available on http://code.google.com/p/crunchy/ Crunchy, the Interactive Python Tutorial Maker, is an application that transforms an ordinary html-based Python tutorial into an interactive session within a web browser. Currently, only Firefox is supported. Crunchy is developed and tested on Windows XP and Ubuntu Dapper Drake, but should work on any suitable windows or UNIX system. Three...
1
1490
by: =?iso-8859-1?B?QW5kcuk=?= | last post by:
Crunchy 0.9 has been released. It is available at http://code.google.com/p/crunchy What is Crunchy? Crunchy is a an application that transforms html Python tutorials into interactive session viewed within a browser. We are not aware of any other application (in any language) similar to Crunchy. Currently Crunchy has only been fully tested with Firefox; we know that some browsers simply don't work with it. Crunchy should work with...
1
1243
by: =?iso-8859-1?B?QW5kcuk=?= | last post by:
A security hole has been uncovered in Crunchy (version 0.9.1.1 and earlier). Anyone using Crunchy to browse web tutorials should only visit sites that are trustworthy. We are working hard at fixing the hole; a new release addressing the problems that have been found should be forthcoming shortly.
0
921
by: =?ISO-8859-1?Q?Andr=E9?= | last post by:
Crunchy is an application that transforms static (text based) Python tutorials into interactive Python sessions within your browser. Since the last announcement on this list, there has been 6 new releases. The latest release can always be found at http://code.google.com/p/crunchy/ New in 0.9.8.6: If docutils is installed, Crunchy can process reStructuredText (.rst) files the same as if they were plain html files.
13
1749
by: =?ISO-8859-1?Q?=22Martin_v=2E_L=F6wis=22?= | last post by:
Within a few weeks, we will release Python 2.5.3. This will be the last bug fix release of Python 2.5, afterwards, future releases of 2.5 will only include security fixes, and no binaries (for Windows or OSX) will be provided anymore (from python.org). In principle, the release will include all changes that are already on the release25-maint branch in subversion . If you think that specific changes should be considered, please create an...
0
779
by: =?ISO-8859-1?Q?Andr=E9?= | last post by:
Hi everyone, Crunchy version 1.0 alpha 1 has been released. Crunchy is an application that transforms normally static Python tutorial (html files, or reStructuredText ones - if docutils is installed on your computer) into interactive sessions within your browser (Firefox). It is available from http://code.google.com/p/crunchy/
0
9700
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9564
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10310
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10068
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9121
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5627
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4275
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3796
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2970
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.