Crunchy is a tool that lets you use the Python interpreter inside a web browser.
Setting it up:
Download it here.
Unzip it anywhere you want.
Open up a shell.
Go to the cruncy
you just unzipped.
Run the following command:
python crunchy.py
Click the “Browsing” menu under the “Basic Crunchy Tutorial” group.
Go to the “Else where on the planet” section and put the URL of this web page there. Then click the “Load remote tutorial” button.
Now, you can try out code and do exercises found in the lectures.
To see if it really works, try out the Python interpreter below:
>>> x = 1 >>> y = 2 >>> z = x + y