Generating Output
To start, you will simply generate output by running the program through the
debugger without setting any breakpoints.
- Run the debugger Click on the "xmlrpcdemo.py" tab in the editor. From the menu, select
Debug|Start (or <F5>). In the
Debugging Options dialog box,
click OK to accept the defaults.
- View the Output Tab Notice the messages in the bottom left corner of the Komodo screen;
these inform you of the status of the debugger. When the program has finished, program output is
displayed in the Output pane. If necessary, click on the Output tab to display the pane.
Python Pointer "Why are there no articles in the output?"
If no article references are displayed in the Output pane, no articles have
been picked up by Meerkat containing the topic word (by default "python")
specified on line 12 within the "time_period" criterion on line 26.
Try increasing the number of hours or changing the topic word. |
- View rendered HTML Click on the "Toggle HTML Preview" button to the right of the
Output pane. The HTML is displayed in the Output pane; click on the links to read the articles.
Click the "Toggle HTML Preview" button again to return to the HTML code.
- Create New File To create a new HTML file that contains the HTML code in the Output
pane, select File|New|New File. In the New File dialog box, select the HTML Category, and the HTML 4.01 Template.
Click OK.
- Save the Output Delete the contents of the new HTML file tab in the Editor pane, then select the
contents of the Output pane (Ctrl+A). Copy the contents to the new HTML file tab in the Editor pane (Ctrl+C, Ctrl+V).
Select File|Save As to save the file with a unique name.
|