Table of Contents

Class: SGMLExtractorHandle Bio/SGMLExtractor.py

A Python handle that automatically strips SGML tags and returns data from specified tag start and end pairs.

Methods   
__getattr__
__init__
read
readline
readlines
  __getattr__ 
__getattr__ ( self,  attr )

  __init__ 
__init__ (
        self,
        handle,
        tags_of_interest=[],
        )

SGMLExtractor(handle, tags_of_interest )

handle is a file handle to SGML-formatted data. tags_of_interest is a list of root names for pairs of start and end tags

  read 
read (
        self,
        *args,
        *keywds,
        )

  readline 
readline (
        self,
        *args,
        *keywds,
        )

  readlines 
readlines (
        self,
        *args,
        *keywds,
        )


Table of Contents

This document was automatically generated on Mon Jul 1 12:02:43 2002 by HappyDoc version 2.0.1