Python Tutorial

 

Table of Contents

Python Tutorial Overview

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

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 resizing the workspace and creating sample projects) are only accessible 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

Python Tutorial Scenario

In this tutorial, you will use a Python program that searches the O'Reilly Meerkat website for a list of categories, and then generates the list as HTML output. You will:

  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 Home Next