Package Bio :: Module SGMLExtractor :: Class SGMLExtractorHandle
[show private | hide private]
[frames | no frames]

Class SGMLExtractorHandle


A Python handle that automatically strips SGML tags and returns data from specified tag start and end pairs.
Method Summary
  __init__(self, handle, tags_of_interest)
SGMLExtractor(handle, tags_of_interest )
  __getattr__(self, attr)
  read(self, *args, **keywds)
  readline(self, *args, **keywds)
  readlines(self, *args, **keywds)

Method Details

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

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

Generated by Epydoc 2.1 on Thu Mar 31 20:15:38 2005 http://epydoc.sf.net