Python Tutorial

 

Table of Contents

Python Tutorial Overview

Click the Align button in Komodo's Help Browser to re-size the Komodo workspace and the Help Browser for side-by-side viewing.

Python Tutorial Scenario

This tutorial searches the O'Reilly Meerkat site for a list of categories, then generates HTML output of the list.

  1. Use the Python Package Manager (PyPPM) to install a Python module (xmlrpclib) that contains code for using Web services.
  2. Open the Python Tutorial Project and associated files.
  3. Analyze xmlrpcdemo.py the Python program included in the Tutorial Project.
  4. Generate output by running the program.
  5. Debug the program using the Komodo debugger.
Top

Before You Start

This tutorial assumes...

  • ...that you are running the Tutorial locally from within the Komodo Help Browser. While it can be read online, the interactive functions (such as re-sizing the workspace and creating sample projects) can only be done from within the Komodo Help Browser.
  • ...that ActivePython 2.0 or greater is installed on your system. ActivePython is a free distribution of the core Python language. See Komodo's Installation Guide for configuration instructions.
  • ...that you have a connection to the internet.
  • ...that you are interested in Python. You don't need to have previous knowledge of Python; the tutorial will walk you through a simple program and suggest some resources for further information.

Top Home Next