Space Telescope Science Institute
DrizzlePac 2012 Handbook
Table of Contents Previous Next Index Print

The DrizzlePac Handbook > Chapter 5: Introduction to the drizzlepac Interface > 5.2 Starting drizzlepac in PyRAF and Python

Python packages contain modules and functions that can be run after the package has been loaded. These modules and functions are also displayed every time the package is loaded or reloaded.
IRAF packages are loaded by typing the package name at the cl command-line. The drizzlepac package can only be run in the PyRAF and Python environments, and must be loaded using Python syntax
The command to load a Python package is import.
In this document, the software is sometimes written as “DrizzlePac” when it is mentioned in general terms, but as a command, it is case-sensitive and has to be called in lowercase, “drizzlepac”.
If drizzlepac is already imported, the reload command provides a reminder of the task names.
<module 'drizzlepac' from '/usr/stsci/pyssgdev/2.7.stsci_python/drizzlepac/__init__.pyc'>

Table of Contents Previous Next Index Print