O'Reilly logo

Python 3 Web Development Beginner's Guide by Michel Anders

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action serving a spreadsheet application

Go to the directory containing the example code for Chapter 2:

  1. Double-click the file spreadsheet.py, the now familiar CherryPy console will open in a text window.
  2. Enter http://localhost:8080 in the address bar of your browser (or click refresh if it is still open on that address). You will now see a simple spreadsheet application:
    Time for action serving a spreadsheet application
  3. You can click on any cell to edit its formula. You should not start a formula with an equal sign: 42, D2+19 and "text" (including the double quote marks) are examples of valid formulas. In fact, any JavaScript expression is valid.

What just happened?

The spreadsheet application ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required