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

Class SGMLExtractorHandle

source code

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

Instance Methods [hide private]
 
__init__(handle, tags_of_interest)
handle is a file handle to SGML-formatted data.
source code
 
read(self, *args, **keywds) source code
 
readline(self, *args, **keywds) source code
 
readlines(self, *args, **keywds) source code
 
__getattr__(self, attr) source code
Method Details [hide private]

__init__(handle, tags_of_interest)
(Constructor)

source code 

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